crazypanter28/laravel13-auth-starter
Composer 安装命令:
composer create-project crazypanter28/laravel13-auth-starter
包简介
Authentication starter for Laravel 13 — Fortify + Livewire + Tailwind/Bootstrap + OAuth + 2FA + Roles & Permissions
关键字:
README 文档
README
A minimal, ready-to-use authentication starter for Laravel 13 using Fortify, Livewire 3, and Tailwind CSS.
Honest note: This starter uses Laravel Fortify as the auth engine. Once Laravel Breeze or Jetstream officially support Laravel 13, we'll evaluate migrating. PRs and issues are welcome.
Stack
- Laravel 13
- Laravel Fortify
- Livewire 3
- Tailwind CSS 4 (default)
- Bootstrap 5 (optional via wizard)
- Laravel Socialite (optional via wizard)
- Spatie Laravel Permission (optional via wizard)
- SQLite (default) — MySQL/PostgreSQL also supported
What's included
| Feature | Version |
|---|---|
| Login, Registration, Forgot/Reset password | v0.0.1 |
| OAuth — GitHub and Google | v0.2.0 |
| CSS framework selector (Tailwind, Bootstrap, None) | v0.3.0 |
| Two-Factor Authentication (TOTP) | v0.4.0 |
| Roles & Permissions (Spatie) | v0.5.0 |
Requirements
- PHP 8.2+
- Composer
- Node.js 18+
Installation
composer create-project crazypanter28/laravel13-auth-starter my-project
cd my-project
php artisan auth:install
npm run build
php artisan serve
Getting started
git clone https://gitlab.com/alonso.montiel/laravel13-auth-starter.git my-project
cd my-project
cp .env.example .env
composer install
npm install
php artisan key:generate
php artisan migrate
php artisan auth:install
npm run build
php artisan serve
Open http://localhost:8000 in your browser.
Wizard installer
The auth:install command is a full setup wizard:
php artisan auth:install
It will ask you:
- CSS framework — Tailwind CSS, Bootstrap, or None
- OAuth — Enable GitHub and Google login
- 2FA — Enable Two-Factor Authentication (TOTP)
- Roles & Permissions — Enable Spatie roles (admin, user)
Everything is configured automatically based on your choices.
OAuth local development note
Google OAuth does not accept .test domains. For local testing use:
GOOGLE_REDIRECT_URI=http://127.0.0.1:80/auth/google/callback
Or use ngrok to expose your local app with a public domain.
GitHub OAuth works fine with .test domains.
Switching to MySQL
In your .env file, replace:
DB_CONNECTION=sqlite
With:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database DB_USERNAME=your_username DB_PASSWORD=your_password
Then run:
php artisan migrate:fresh php artisan db:seed --class=RolesAndPermissionsSeeder
Testing email in local development
By default this starter uses the log driver for mail — no email server needed.
In your .env make sure you have:
MAIL_MAILER=log
After requesting a password reset, find the link in:
storage/logs/laravel.log
Search for reset-password — copy the full URL and paste it in your browser.
For production change MAIL_MAILER to smtp, mailgun, ses, or any driver Laravel supports.
Contributing
PRs and issues are welcome. Please open an issue first to discuss what you'd like to change.
This project follows Semantic Versioning.
License
MIT
crazypanter28/laravel13-auth-starter 适用场景与选型建议
crazypanter28/laravel13-auth-starter 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 06 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「Authentication」 「bootstrap」 「oauth」 「laravel」 「2fa」 「spatie」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 crazypanter28/laravel13-auth-starter 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 crazypanter28/laravel13-auth-starter 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 crazypanter28/laravel13-auth-starter 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
WeChat OAuth SDK
Automatically logs-in users if they are already authenticated by a remote source. (e.g. environment variable REMOTE_USER)
GraphQL authentication for your headless Craft CMS applications.
Ory-Hydra OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Library for ORCID web services
A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 36
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-11