ercogx/laravel-filament-starter-kit
最新稳定版本:2.8.0
Composer 安装命令:
composer create-project ercogx/laravel-filament-starter-kit
包简介
This is a Filament v3 Starter Kit for Laravel 12, designed to accelerate the development of Filament-powered applications.
README 文档
README
This is a Filament v4 Starter Kit for Laravel 12, designed to accelerate the development of Filament-powered applications.
Compatibility
| Starter Kit | Filament Version |
|---|---|
| 1.x | 3.x |
| 2.x | 4.x |
📦 Installation
You need the Laravel Installer if it is not yet installed.
composer global require laravel/installer
Now you can create a new project using the Laravel Filament Starter Kit.
laravel new test-kit --using=ercogx/laravel-filament-starter-kit
If you want a Filament v3 (not recommended)
laravel new test-kit --using=ercogx/laravel-filament-starter-kit:1.8.0
⚙️ Setup
1️⃣ Database Configuration
By default, this starter kit uses SQLite. If you’re okay with this, you can skip this step. If you prefer MySQL, follow these steps:
- Update your database credentials in
.env - Run migrations:
php artisan migrate - (Optional) delete the existing database file:
rm database/database.sqlite
2️⃣ Create Filament Admin User
php artisan make:filament-user
3️⃣ Assign Super Admin Role
php artisan shield:super-admin --user=1 --panel=admin
4️⃣ Generate Permissions
php artisan shield:generate --all --ignore-existing-policies --panel=admin
🌟Panel Include
- Shield Access management to your Filament Panel's Resources, Pages & Widgets through spatie/laravel-permission.
- Backgrounds Beautiful backgrounds for Filament auth pages.
- Logger Extensible activity logger for filament that works out-of-the-box.
- Nord Theme Beautiful Nord theme with subdued palette
- Breezy My Profile page.
More will be added when the relevant plugins release support for v4
🧑💻Development Include
- barryvdh/laravel-debugbar The most popular debugging tool for Laravel, providing detailed request and query insights.
- larastan/larastan A PHPStan extension for Laravel, configured at level 5 for robust static code analysis.
- plannr/laravel-fast-refresh-database 🚀 Refresh your test databases faster than you've ever seen before
The composer check script runs tests, PHPStan, and Pint for code quality assurance:
composer check
📜 License
This project is open-source and licensed under the MIT License.
💡 Contributing
We welcome contributions! Feel free to open issues, submit PRs, or suggest improvements.
🚀 Happy Coding with Laravel & Filament! 🎉
统计信息
- 总下载量: 1.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 35
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-13

