ercogx / laravel-filament-starter-kit
This is a Filament v3 Starter Kit for Laravel 12, designed to accelerate the development of Filament-powered applications.
Installs: 880
Dependents: 0
Suggesters: 0
Security: 0
Stars: 19
Watchers: 1
Forks: 7
Open Issues: 5
Type:project
Requires
- php: ^8.2
- bezhansalleh/filament-shield: 4.0.0-beta2
- filament/filament: ^4.0
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.1
- swisnl/filament-backgrounds: ^2.0
- unknow-sk/filament-logger: ^1.0
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.15
- fakerphp/faker: ^1.23
- larastan/larastan: ^3.0
- laravel/pail: ^1.2.2
- laravel/pint: ^1.13
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- phpunit/phpunit: ^11.5.3
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.
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.
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.