承接 devmi/easy-socialite 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

devmi/easy-socialite

Composer 安装命令:

composer require devmi/easy-socialite

包简介

Easy socialite setup for laravel

README 文档

README

This package helps you to easily integrate your social media login and get started with

It's never been easier

Installation

Notice

This package is depending on the Socialite official laravel package.

The documentation for it can be found on the Laravel-website.

so make sure to install it first.

From the command line navigate to your Laravel Project and run:

composer require devmi/easy-socialite

Then run your migration

php artisan migrate

Note that the password column changed to be nullable on your users table

Finally use Devmi\EasySocailite\Traits\EasySocialiteTrait in your User Model

Usage

Now all what you have to do is to make a request to /login/{your-service}

By default Github, Google, Twitter, Facebook are activated, to de-activate or add a new service you need to publish the configuration file and modify it as your need

After any new social account linked to your user a Devmi\EasySocailite\SocialAccountLinked event will be fired containing the following payload

  • The user model created
  • The linked service name
  • The information sent back from the service (such as appId, avatar link ...)

So you can listen to the event and dispatch your listeners

Publishing the configuration file

From the command line navigate to your Laravel Project and run:

php artisan vendor:publish --tag=easysocialite

The file will be placed under your config directory

Testing

vendor/bin/phpunit

Issues and Contribution

If you run into any bug or problem please make sure to open an issue or create a pull request, Thanks!

Credits

Bedrani Sidali

Miloudi Mohamed

Licence

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固