定制 bladesync/laraauth 二次开发

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

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

bladesync/laraauth

最新稳定版本:v1.0.0

Composer 安装命令:

composer require bladesync/laraauth

包简介

A simple, built-in authentication package for Laravel 11+.

README 文档

README

Laraauth by BladeSync A simple, complete, and publishable authentication package for Laravel 11+ with OTP-based password reset.

Features User Registration, Login & Logout.

Secure, OTP-based "Forgot Password" functionality.

Protected routes for both authenticated and guest users.

Fully Publishable: You have full control over the code.

Publish and customize all views.

Publish and customize the config file.

Publish a default home page to get started quickly.

Install routes directly into your web.php for full customization.

Installation Install via Composer:

composer require bladesync/laraauth

Run Migrations: This will create the users and password_reset_otps tables.

php artisan migrate

(Optional) Install Routes: If you want to customize the routes, run this command. It will copy all routes from the package to your application's routes/web.php file.

Warning: This will overwrite your existing routes/web.php file.

php artisan laraauth:install-routes

Publishing Assets (Optional) You can publish different parts of the package to customize them.

Publish Config File This will create config/laraauth.php.

php artisan vendor:publish --tag="laraauth-config"

Publish All Views This will create the resources/views/laraauth directory with all authentication views.

php artisan vendor:publish --tag="laraauth-views"

Publish Only the Home Page This is a quick way to get a starter dashboard page at resources/views/home.blade.php.

php artisan vendor:publish --tag="laraauth-home"

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-24