andyjessop/socialist
Composer 安装命令:
composer require andyjessop/socialist
包简介
A social authentication REST API for Laravel 5
README 文档
README
A social authentication REST API for Laravel 5
WARNING: THIS IS STILL UNDER DEVELOPMENT AND SHOULD IN NO WAY BE USED FOR PRODUCTION
Installation
Add the package to your composer.json file:
"require": {
...
"andyjessop/socialist": "dev-master"
},
Then update:
composer update
Add the service provider to 'YourRoot/config/app.php' providers array
'providers' => [
...
AndyJessop\Socialist\SocialistServiceProvider::class,
],
Publish the config and migration files:
php artisan vendor:publish
Run the migration
php artisan migrate
Events
Socialist exposes some events for you to hook into in your application. To register listeners, follow the instructions in the Laravel Docs.
AndyJessop\Socialist\Events\UserHasLoggedIn
-
fires when a user logs in
-
exposes user data
AndyJessop\Socialist\Events\UserHasRegistered
-
fires when a user is created
-
exposes user data
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-24