crixuamg / laravel-route-logger
Automatically logs all requests with the request data
Requires
- php: >=7.0
- laravel/framework: 5.*||6.*||7.*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2025-06-17 00:43:07 UTC
README
Installation
First, run composer require crixuamg/laravel-route-logger in your terminal.
Then, run php vendor:publish --tag=CrixuAMG\RouteLogger\RouteLoggerServiceProvider to publish the config and migration.
Then run php artisan migrate and the table will be created in your database.
The last step is to register the middleware in app/Htpp/Middleware/Kernel.php: CrixuAMG\RouteLogger\Http\Middleware\RouteLoggerMiddleware::class,
Usage
After installing the package using the steps above all wil be ready to use.
Try out a couple of routes and view the data in your database viewer of choice!