optimus/sentinel-lumen
最新稳定版本:0.1.0
Composer 安装命令:
composer require optimus/sentinel-lumen
包简介
A Lumen bridge for cartalyst/sentinel
README 文档
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.
统计信息
- 总下载量: 3.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-05-07