Universal set of diagnostic tests for PHP applications.
TODO
- Install the ZFTool module.
- Enable diagnostic tests in your application config.php.
- In your console type
php public/index.php diag
to run diagnostics.
WIP
- Add PHPDiagnostics component to your application
- via composer - run
composer require thinkscape/phpdiagnostics:dev-master
- via git - clone https://github.com/Thinkscape/PHPDiagnostics.git and add
PHPDiagnostics
to your autoloader. - manually - download and extract package and add
PHPDiagnostics
to your autoloader.
- via composer - run
- Create an instance of
PHPDiagnostics\Runner
- Add tests using
Runner::addTest()
- Run diagnostics
Runner::start()
;