rayblair/url-activity

0.2.0 2020-12-16 22:21 UTC

This package is auto-updated.

Last update: 2024-10-17 06:47:00 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

Records every url request, as well as user information, that is requested within your specified middleware group.

Installation

You can install the package via composer:

composer require rayblair/url-activity

Usage

Add \Rayblair\UrlActivity\Http\Middleware\UrlActivityMiddleware::class to your middleware.

protected $middlewareGroups = [
    'web' => [
        ...
        \Rayblair\UrlActivity\Http\Middleware\UrlActivityMiddleware::class
    ],

    'auth' => [
        ...
        \Rayblair\UrlActivity\Http\Middleware\UrlActivityMiddleware::class
    ],

    'api' => [
        ...
        \Rayblair\UrlActivity\Http\Middleware\UrlActivityMiddleware::class
    ],
];

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email rayblair06@hotmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.