承接 joshmoreno/sanctum-auth-tests 相关项目开发

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

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

joshmoreno/sanctum-auth-tests

Composer 安装命令:

composer require joshmoreno/sanctum-auth-tests

包简介

Auth tests for Laravel Sanctum

README 文档

README

This is for sanctum ^2.0.0. Follow their docs as usual.

Quick note, ownership of these tests is yours. You're free to edit them however you'd like. Add more tests, remove, refactor...whatever you see fit. After installing, you're free to remove the package!

Installation

composer require joshmoreno/sanctum-auth-tests 

php artisan sanctumAuthTests:publish
# same thing as
# php artisan vendor:publish --provider="JoshMoreno\SanctumAuthTests\SanctumAuthTestsServiceProvider" --tag="tests"

# you got what you came for, no need to keep the package around. Bye 👋
composer remove joshmoreno/sanctum-auth-tests

Customize

Reminder, you're free to do whatever you want with the tests after publishing.

By default, the tests assume you're using the typical laravel auth routes for the following:

  • login - route('login')
  • logout - route('logout')
  • register - route('register')
  • resend verification email - route('verification.resend')
  • verify email - verification.verify // not named in laravel ☹️
  • forgot password - route('password.email')
  • update password - route('password.update')

You can find all of these and more in tests/Feature/ApiAuth/ApiAuthTestCase.php.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固