2017 © Pedro Peláez
 

library lbtracker

full stack package allow deep permission system

image

libressltd/lbtracker

full stack package allow deep permission system

  • Friday, April 21, 2017
  • by libressltd
  • Repository
  • 0 Watchers
  • 0 Stars
  • 44 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

DeepPermission

Step 1: Install DeepPermission

composer require libressltd/lbtracker, (*1)

Step 2: Add service provider to config/app.php

//Provider

LIBRESSLtd\LBTracker\LBTrackerServiceProvider::class,

Step 3: Publish vendor

php artisan vendor:publish --tag=lbtracker --force

php artisan migrate

Step 4: Add following line to App\Http\Kernel > routeMiddleware



'lbtracker' => \App\Http\Middleware\LBTrackerMiddleware::class

Add middleware to any route that you want to track. Remember to put the tracker after auth or auth:api, (*2)


Route::group(["middleware" => ["lbtracker"]], function() { Route::get('/', function () { return view('welcome'); }); });

or put it on middlewares to make it global, (*3)


protected $middleware = [ \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class, // Middleware for LBTracker \App\Http\Middleware\LBTrackerMiddleware::class, ];

The Versions

21/04 2017

dev-master

9999999-dev

full stack package allow deep permission system

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

21/04 2017

0.2.2.2

0.2.2.2

full stack package allow deep permission system

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

21/04 2017

0.2.2

0.2.2.0

full stack package allow deep permission system

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

21/04 2017

0.2.1

0.2.1.0

full stack package allow deep permission system

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

29/03 2017

0.2.0.2

0.2.0.2

full stack package allow deep permission system

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

29/03 2017

0.2.0.1

0.2.0.1

full stack package allow deep permission system

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

28/01 2017

0.2

0.2.0.0

full stack package allow deep permission system

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

26/01 2017

0.1

0.1.0.0

full stack package allow deep permission system

  Sources   Download

MIT

The Requires

 

by LIBRE SS Ltd

23/01 2017

0.0.1

0.0.1.0

full stack package allow deep permission system

  Sources   Download

MIT

by LIBRE SS Ltd