New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

alfred-nutile-inc/route-tracking

Route Tracking
5,811 4
Install
composer require alfred-nutile-inc/route-tracking:dev-master
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...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

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

429,221,767 607
nunomaduro/collision

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

407,699,310 4,663