Generates reports based on the logs from scheb/tombstone
Report generation for the Tombstones created with the scheb/tombstone library.
WARNING: The library is still work in progress. BC breaks will certainly happen as long as there is no stable release.
Install via composer
$ composer require scheb/tombstone-analyzer
Composer automatically creates an executable binary
Execute the tool on the command line to show the help dialog:
$ tombstone /path/to/php/sources /path/to/tombstone/logs
Generate a HTML report:
$ tombstone /path/to/php/sources /path/to/tombstone/logs --report-html=/report/target/directory
You're welcome to contribute to this library by creating a pull requests or feature request in the issues section. For pull requests, please follow these guidelines:
- Symfony code style
- PHP7.1 type hints for everything (including: return types,
void, nullable types)
- Please add/update test cases
- Test methods should be named
To run the test suite install the dependencies with
composer install and then execute
Thanks to Sebastian Bergmann for letting me re-use parts of his code and the template files.
This library is available under the MIT license.