alfred-nutile-inc/route-tracking

Route Tracking
5,793 4
Install
composer require alfred-nutile-inc/route-tracking
PHP:>=5.5.0
Last Updated:Dec 17, 2015
Links: GitHub  ·  Packagist
Maintainer: alnutile

Simple Way To Track Route Usage

report

See https://alfrednutile.info/posts/169 for more info.

Installation

Run composer require alfred-nutile-inc/route-tracking

Setup the Provider config/app.php

    'providers' => [
      AlfredNutileInc\RouteTracking\RouteTrackingProvider::class,

Setup the Middleware adding this to your app/Http/Kernel.php

    protected $middleware = [
        \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
        \App\Http\Middleware\EncryptCookies::class,
        \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
        \Illuminate\Session\Middleware\StartSession::class,
        \AlfredNutileInc\RouteTracking\RouteUsageTracker::class,
    ];

Make sure to run Migrations

php artisan vendor:publish

php artisan migrate

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660