A easy-to-use Laravel starterkit with Filament 5 pre-configured.
Requires PHP 8.5+
composer create-project codewow/starterkit your-project-name
cd your-project-name
composer install
npm install
npm run build
php artisan serveServe with Laravel Herd: the app is available at https://your-project-name.test.
| Layer | Tech |
|---|---|
| Framework | Laravel 12.x |
| Admin | FilamentPHP 5.x (SPA mode, custom theme, MFA) |
| Defaults | nunomaduro/essentials (strict models, auto-eager loading, immutable dates) |
| Static analysis | Larastan |
| Code style | Laravel Pint |
| Tests | Pest 4.x (incl. browser tests) |
| Refactoring | Rector |
composer review # Pint → Rector → PHPStan → Pest- Pint –
vendor/bin/pint --dirty --format agent(orcomposer run pint) - Rector –
vendor/bin/rector --ansi - PHPStan –
vendor/bin/phpstan analyse - Pest –
php artisan test --compact
- Tests – PEST 4.x, 4 parallel shards
- PHPStan – static analysis
- Pint – style fix + auto-commit
- SPA mode
- Custom login (with developer login in local)
- Custom theme
- Profile management
- MFA (App Authentication)
- Tables: striped rows, deferred loading
Custom stubs omit the down() method. Remove the custom stubs to restore Laravel’s default migration templates.
Add app-wide helpers in app/Helpers.php:
if (! function_exists('example')) {
function example(): string
{
return 'Your helper function here.';
}
}This project is based on CodeWithDennis/larament. We have made some changes to the original project to make it more suitable for our needs.