germix / exception-dumper
Dump exceptions to file
Installs: 70
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/germix/exception-dumper
This package is not auto-updated.
Last update: 2025-10-24 14:58:59 UTC
README
Installation
composer require germix/exception-dumper
Description
Dump exceptions to file.
Available formats
- text
- html
- json
How to use
try
{
// ...
}
catch(\Exception $ex)
{
$dumper = new ExceptionDumper('logs', 'log ~ ', 'html', true);
$dumper->dump($ex);
}
Its generate a file like this
logs/log ~ 2020-01-04 12-30-02.html