esbenp / sentinel-lumen by esbenp

A Lumen bridge for cartalyst/sentinel
3,127
1
4
Package Data
Maintainer Username: esbenp
Maintainer Contact: ep@traede.com (Esben Petersen)
Package Create Date: 2015-05-07
Package Last Update: 2015-05-07
Language: PHP
License: Unknown
Last Refreshed: 2024-11-15 15:13:30
Package Statistics
Total Downloads: 3,127
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 1
Total Watchers: 4
Total Forks: 1
Total Open Issues: 0

sentinel-lumen

A Lumen bridge for cartalyst/sentinel.

Installation

Via composer

Run composer require optimus/sentinel-lumen 0.1.*

Register package

In your bootstrap/app.php register service providers

$app->register('Optimus\Sentinel\SentinelServiceProvider');

Copy config

Copy vendor/cartalyst/sentinel/config/config.php to your own config folder (config/sentinel.php in your project root). It has to be the correct config folder as it is registered using $app->configure().

Migrate

Run php artisan migrate --path=vendor/cartalyst/sentinel/src/migrations

Usage

The package is now installed for Lumen. Usage is the same as with cartalyst/sentinel, so I suggest you read the the manual for usage.