LaravelStark is a opinionated starter kit Laravel with Filament skeleton that enforces rigorous development standards through meticulous tooling configuration and architectural decisions that prioritize type safety, immutability, and fail-fast principles.
Requires PHP 8.4+.
Create your type-safe Laravel application using Composer:
composer create-project dsolodev/laravelstark --prefer-dist example-app
Run the test suite to ensure everything is configured correctly:
composer test
You should see 100% test coverage and all quality checks passing.
composer dev
- Starts Laravel server, queue worker, log monitoring, and Vite dev server concurrently
composer lint
- Runs Rector (refactoring), Pint (PHP formatting), and Prettier (JS/TS formatting)composer test:lint
- Dry-run mode for CI/CD pipelines
composer test:type-coverage
- Ensures 100% type coverage with Pestcomposer test:types
- Runs PHPStan at level 9 (maximum strictness)composer test:unit
- Runs Pest tests with 100% code coverage requirementcomposer test
- Runs the complete test suite (type coverage, unit tests, linting, static analysis)
composer update:requirements
- Updates all PHP and NPM dependencies to latest versions
LaravelStark was created by me for personal use and licensed under the MIT license.