Package Data | |
---|---|
Maintainer Username: | nunomaduro |
Package Create Date: | 2023-08-19 |
Package Last Update: | 2025-10-04 |
Home Page: | |
Language: | Blade |
License: | MIT |
Last Refreshed: | 2025-10-07 15:00:03 |
Package Statistics | |
---|---|
Total Downloads: | 614 |
Monthly Downloads: | 614 |
Daily Downloads: | 46 |
Total Stars: | 626 |
Total Watchers: | 14 |
Total Forks: | 78 |
Total Open Issues: | 2 |
Laravel Starter Kit is an ultra-strict, type-safe Laravel skeleton engineered for developers who refuse to compromise on code quality. This opinionated starter kit enforces rigorous development standards through meticulous tooling configuration and architectural decisions that prioritize type safety, immutability, and fail-fast principles.
Modern PHP has evolved into a mature, type-safe language, yet many Laravel projects still operate with loose conventions and optional typing. This starter kit changes that paradigm by enforcing:
This isn't just another Laravel boilerplate—it's a statement that PHP applications can and should be built with the same rigor as strongly-typed languages like Rust or TypeScript.
Requires PHP 8.4+.
Create your type-safe Laravel application using Composer:
composer create-project nunomaduro/laravel-starter-kit --prefer-dist example-app
Navigate to your project and complete the setup:
cd example-app
# Install PHP dependencies with optimized autoloader
composer install
# Install and build frontend assets
npm install
npm run build
# Configure your environment
cp .env.example .env
php artisan key:generate
# Run database migrations
php artisan migrate
# Start the development server
composer dev
If you plan to use Pest's browser testing capabilities:
npm install playwright
npx playwright install
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 concurrentlycomposer lint
- Runs Rector (refactoring), Pint (PHP formatting), and Prettier (JS/TS formatting)composer test:lint
- Dry-run mode for CI/CD pipelinescomposer 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 versionsLaravel Starter Kit was created by Nuno Maduro under the MIT license.