alfred-nutile-inc / route-tracking
Route Tracking
Installs: 5 492
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 17
Forks: 0
Open Issues: 0
Requires
- php: >=5.5.0
- illuminate/console: *
- illuminate/contracts: *
- illuminate/filesystem: *
- illuminate/support: *
Requires (Dev)
- fzaninotto/faker: 1.4.0
- mockery/mockery: *
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-12-21 19:53:25 UTC
README
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