定制 andyjessop/socialist 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-24