This project was created during a hackathon, which explains the commit messages, lack of code styling, etc. etc. For more information please see https://enrise.com/2022/10/dlf-hackathon-2022-bij-enrise/.
Ever wanted to track command executions, notifications and events? Use Laravel Sonar today!
The best developer is the one that can sleep easily at night. With Sonar, you can rest easily (or at least know why you have nightmares) that your notifications reach your users and your commands reach the scheduler. So in short, that which can be invisible during an acceptance test is being monitored for you:
- When a command succeeds
- When a command fails
- When a notification succeeds
- When a notification fails
And it comes with a fancy dashboard as well!
composer require enrise/laravel-sonar
php artisan vendor:publish --provider=Enrise\\LaravelSonar\\Infrastructure\\ServiceProviders\\LaravelSonarServiceProvider --tag=config
Add the sonar routes to the route group of your choosing
in routes/web.php
Route::prefix('/sonar')->group(function() {
Route::get('/', \Enrise\LaravelSonar\Infrastructure\Actions\DashboardAction::class);
Route::post('/transactions/resolve', \Enrise\LaravelSonar\Infrastructure\Actions\TransactionResolveAction::class);
});
Run php artisan serve
View the dashboard on http://localhost:8080/sonar