optimus / sentinel-lumen
A Lumen bridge for cartalyst/sentinel
Installs: 3 127
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- cartalyst/sentinel: ~2.0
This package is auto-updated.
Last update: 2024-12-15 06:00:04 UTC
README
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.