This package is a Laravel extension
This package requires PHP 5.6 and Laravel 5.0 or higher.
composer require programic/laravel-tools
Add this chain to the Application in bootstrap/app.php
->withExceptions(function (Exceptions $exceptions) {
Integration::handles($exceptions);
})
Replace report method in App\Exceptions\Handler
public function report(Exception $exception)
{
if ($this->shouldReport($exception) && app()->bound('sentry')) {
app('sentry')->captureException($exception);
}
parent::report($exception);
}
Add Mysql8ServiceProvider
in your config/app.php
to add mysql 8 support for migrations
Add Programic\Tools\Middleware\DebugBarMeta
as middleware in your App/Http/Kernel.php
API group to add debug data in every response
Use our vue plugin to add this debug data to the Vue Devtools: https://github.com/programic/api-debugbar-vue-devtools
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.