alfred-nutile-inc/route-tracking

There is no license information available for the latest version (dev-master) of this package.

Route Tracking

dev-master 2015-12-17 19:41 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:21:46 UTC


README

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