dragon-code / laravel-http-logger
Logging incoming HTTP requests
Fund package maintenance!
Boosty
Yoomoney
Donationalerts
Installs: 9 477
Dependents: 3
Suggesters: 0
Security: 0
Stars: 31
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: ^8.0
- doctrine/dbal: ^3.3
- dragon-code/support: ^5.8 || ^6.0
- illuminate/contracts: ^8.37 || ^9.0 || ^10.0 || ^11.0
- illuminate/database: ^8.37 || ^9.0 || ^10.0 || ^11.0
- illuminate/http: ^8.37 || ^9.0 || ^10.0 || ^11.0
- illuminate/routing: ^8.37 || ^9.0 || ^10.0 || ^11.0
- illuminate/support: ^8.37 || ^9.0 || ^10.0 || ^11.0
Requires (Dev)
- mockery/mockery: ^1.5
- orchestra/testbench: ^6.0 || ^7.0 || ^8.0 || ^9.0
- phpunit/phpunit: ^9.6 || ^10.0
README
Installation
To get the latest version of Laravel HTTP Logger
, simply require the project using Composer:
composer require dragon-code/laravel-http-logger
Or manually update require
block of composer.json
and run composer update
.
{ "require": { "dragon-code/laravel-http-logger": "^1.0" } }
Usage
Run the migrations and submit a request to the site.
By default, the plugin is ready to go.
If you need to change the database connection or table name, you can do it in the settings.
Database table
All incoming HTTP requests will be logged to a database table. The default name is http_logs
.
For example:
License
This package is licensed under the MIT License.