Skip to content

Laravel all in one monitoring for all your events, notifications and queues

License

Notifications You must be signed in to change notification settings

Enrise/laravel-sonar

Repository files navigation

logo

Hackathon project

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/.

Sonar

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!

Getting started

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

About

Laravel all in one monitoring for all your events, notifications and queues

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published