定制 sfelix-martins/laravel-robust 二次开发

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

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

sfelix-martins/laravel-robust

Composer 安装命令:

composer create-project sfelix-martins/laravel-robust

包简介

Laravel Project with many tools pre installed and pre-set to build Robust APIs

README 文档

README

Build Status StyleCI Scrutinizer Code Quality

Laravel Project with many tools preinstalled and pre-set to build Robust APIs

Features

  • Register Users
  • OAuth 2 Authentication (Default and Facebook)
  • Reset Passwords
    • You can resets password on browser using routes:
      • GET : /password/reset to show link request form
      • POST : /password/email to send reset link email
      • GET : /password/reset/{token} to show reset form
      • POST : /password/reset to reset password
    • Or using the API endpoints
  • Confirm Account

Endpoints

  • POST: /v1/users - Create users
  • POST: /v1/oauth/token - Default login and Facebook Login
  • GET : /v1/users/{id} - Get one user
  • POST: /v1/password/email - Sends password reset emails
  • POST: /v1/password/reset - Resets Passwords
  • GET : /v1/account/verify/{token} - Confirm email

Events

  • Illuminate\Auth\Events\Registered when user is registered
  • Illuminate\Auth\Events\PasswordReset when resets password

More details on Docs

Used Packages

Installing

  • Create laravel-robust project
$ composer create-project sfelix-martins/laravel-robust $YOUR_APP
  • Enter in the project folder:
$ cd $YOUR_APP
  • Use the stable version. Go to releases and checkout on latest version. For example:
$ git checkout v1.1.0
  • Copy .env file and set your environment configs
$ cp .env.example .env
  • Install composer packages
$ composer install
  • Generate you app key
$ php artisan key:generate
  • Migrate database changes
$ php artisan module:migrate
$ php artisan migrate
  • Install Laravel Passport to get credentials
$ php artisan passport:install

Get the generate credentials to use on API authentication

  • You need start queue to send confirmation email correctly
$ php artisan queue:work

Or configure Supervisor to make this

Testing

  • Install npm dependencies and start automatic tests
$ npm install

$ npm run tdd

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固