Collection of development libraries to speed PHP development.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Currency
DateFormat
Observer
spec
tests
.gitattributes
.gitignore
.local.vimrc
.scrutinizer.yml
Assertion.php
Auth.php
BaseEntity.php
BaseRepository.php
Berksfile
Berksfile.lock
CONTRIBUTING.md
Collection.php
ComponentInterface.php
DataMapper.php
DataMapperEntity.php
File.php
FileLogger.php
Format.php
Formatter.php
HTMLFormatter.php
IService.php
IoC.php
LICENSE.md
Log.php
LogEntry.php
Logger.php
Markdown.php
Model.php
MysqlModel.php
Observable.php
Observer.php
PDOAdapter.php
PDORepository.php
Query.php
README.md
RandData.php
RedisRepository.php
Repository.php
Request.php
Response.php
Rest.php
RestInterface.php
Router.php
Sanitize.php
SqlStatement.php
StdOutLogger.php
TAPFormatter.php
Template.php
Vagrantfile
Vagrantfile.chef
ValueObject.php
View.php
chef.json-old
composer.json
composer.lock
gulpfile.js
package.json
package.xml
phpspec.yml
phpunit.xml

README.md

Devtools

Build Status

Devtools is a collection of PHP libraries designed for rapid development and debugging.

  • Dbg: Debuging class that manages exceptions and debugging output

  • Git: Class to interface with the GitHub API

  • Markdown: Class to translate Markdown into prper HTML code

  • Model: Data access class to be used in MVC type architectures

  • RandData: Generates random test data of specific type to debug with

  • Unit Unit tester

Installation and reference

Clone the repo to /lib/Devtools in your project file

Copy dep/autoloader.php to the Document Root and reference it in your project files as below:

require_once $_SERVER['DOCUMENT_ROOT'].'/autoloader.php';
Usage

Calls to namespaces must be Fully-Qualified (must begin with a leading backspace)

$dbg = new \Devtools\Dbg();