# Debug
Debugging tools for PHP

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/xicrow/debug/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/xicrow/debug/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/xicrow/debug/badges/build.png?b=master)](https://scrutinizer-ci.com/g/xicrow/debug/build-status/master)

## Installation
The recommended way to install is though [Composer](https://getcomposer.org/).
```JSON
{
    "require": {
        "xicrow/debug": "~1.0"
    }
}
```

## Example
See the examples in the `demo` folder.

## TODO
- ~~Debug functions for displaying variable information, pr(), vd(), etc.~~
	*Implemented, available in `Debugger` class*
- ~~Collection class for Timer::$timers, and maybe others~~
	*Implemented, available in `Collection` class*
- ~~Memory class for measuring memory usage~~
	*Implemented, available in `Memory` class*
- Add PHPunit tests
- Improve Timer and Memory, perhaps a Profiler class
- Improve Debugger, foldable tree of arrays/objects

## License
Copyright &copy; 2016 Jan Ebsen
Licensed under the MIT license.

# Debug
Debugging tools for PHP

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/xicrow/debug/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/xicrow/debug/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/xicrow/debug/badges/build.png?b=master)](https://scrutinizer-ci.com/g/xicrow/debug/build-status/master)

## Installation
The recommended way to install is though [Composer](https://getcomposer.org/).
```JSON
{
    "require": {
        "xicrow/debug": "~1.0"
    }
}
```

## Example
See the examples in the `demo` folder.

View the seperate readme for [Timer](Timer.md) and [Memory](Memory.md) in their respective files.

## TODO
- ~~Debug functions for displaying variable information, pr(), vd(), etc.~~
	*Implemented, available in `Debugger` class*
- ~~Collection class for Timer::$timers, and maybe others~~
	*Implemented, available in `Collection` class*
- ~~Memory class for measuring memory usage~~
	*Implemented, available in `Memory` class*
- Add PHPunit tests
- Improve Timer and Memory, perhaps a Profiler class
- Improve Debugger, foldable tree of arrays/objects

## License
Copyright &copy; 2016 Jan Ebsen
Licensed under the MIT license.

Add link to Timer and Memory readme
Add link to Timer and Memory readme
