2017 © Pedro Peláez
 

library laravel-request-logger

Log requests to database for Laravel 5 Projects

image

imi/laravel-request-logger

Log requests to database for Laravel 5 Projects

  • Wednesday, April 4, 2018
  • by imi
  • Repository
  • 9 Watchers
  • 3 Stars
  • 336 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 7 % Grown

The README.md

Logs Requests for Laravel Projects

This module logs requests for following data to a database table., (*1)

  • method
  • path
  • ip
  • session
  • get
  • post
  • cookies
  • agent

It is possible to exclude certain private fields through configuration (contributed by @AgelxNash). By default, all session cookies and xsrf tokens are excluded from being logged., (*2)

Installation

  1. Install imi/laravel-request-logger via composer with this command: composer require imi/laravel-request-logger -W
  2. Optional - if your Laravel version does not yet support autodiscovery: Insert iMi\LaravelRequestLogger\RequestLoggerServiceProvider::class into providers in your config/app.php
  3. Use the middleware 'request-logger' => 'iMi\LaravelRequestLogger\LogRequest::class' for routes/route groups. If you want to log all requests insert iMi\LaravelRequestLogger\LogRequest::class into middleware in your app/Http/Kernel.php, but not in routeMiddleware.
  4. Call php artisan migrate

Similar Modules

  • https://github.com/spatie/laravel-http-logger

About Us

iMi digital GmbH offers Laravel related open source modules. If you are confronted with any bugs, you may want to open an issue here., (*3)

In need of support or an implementation of a modul in an existing system, free to contact us. In this case, we will provide full service support for a fee., (*4)

Of course we provide development of closed-source modules as well., (*5)

The Versions

04/04 2018

dev-master

9999999-dev

Log requests to database for Laravel 5 Projects

  Sources   Download

GPL

by iMi digital GmbH - Marcel Hammerschmidt

04/04 2018

2.1.0

2.1.0.0

Log requests to database for Laravel 5 Projects

  Sources   Download

GPL

by iMi digital GmbH - Marcel Hammerschmidt

19/12 2017

2.0.1

2.0.1.0

Log requests to database for Laravel 5 Projects

  Sources   Download

GPL

by iMi digital GmbH - Marcel Hammerschmidt

01/03 2017

2.0.0

2.0.0.0

Log requests to database for Laravel 5 Projects

  Sources   Download

GPL

by iMi digital GmbH - Marcel Hammerschmidt

25/09 2015

1.0.0

1.0.0.0

Log requests to database for Laravel 5 Projects

  Sources   Download

GPL

by iMi digital GmbH - Marcel Hammerschmidt