nunomaduro / laravel-starter-kit
The skeleton application for the Laravel framework.
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 195
Watchers: 6
Forks: 30
Open Issues: 1
Language:Blade
Type:project
Requires
- php: ^8.4
- laravel/framework: ^12.29.0
- nunomaduro/essentials: ^1.0.0
Requires (Dev)
- fakerphp/faker: ^1.24.1
- larastan/larastan: ^3.7.1
- laravel/boost: ^1.1.4
- laravel/pail: ^1.2.3
- laravel/pint: ^1.25.0
- mockery/mockery: ^1.6.12
- nunomaduro/collision: ^8.8.2
- pestphp/pest: ^4.1.0
- pestphp/pest-plugin-browser: ^4.1
- pestphp/pest-plugin-laravel: ^4.0.0
- pestphp/pest-plugin-type-coverage: ^4.0.2
- rector/rector: ^2.1.7
README
Laravel Starter Kit is my strict Laravel skeleton - for those who demand meticulous precision in their projects.
Tools like PHPStan, Pest, Rector, Pint, and Prettier are pre-configured to be as strict as possible. E.g: 100% type and code coverage, PHPStan level max, Rector with max privatization, and more...
Requires PHP 8.4+.
Create Project
โก๏ธ Create your project using Composer:
composer create-project nunomaduro/laravel-starter-kit --prefer-dist example-app cd example-app composer install npm install npm run build cp .env.example .env php artisan key:generate php artisan migrate php artisan serve # serve the application...
Features
๐ฅ Comes with Laravel Essentials, changes defaults in Laravel for more strict usage:
- Strict Models
- Auto Eager Loading
- Immutable Dates
- Force HTTPS
- Safe Console
- Asset Prefetching
- and more...
๐งน Keep a modern codebase with Pint, Rector, and Prettier:
Every single rule in these tools is customized so they are most strict as possible.
composer lint
composer test:lint # on ci...
๐งจ Check type coverage with Pest:
composer test:type-coverage # 100% type coverage...
โ๏ธ Run static analysis using PHPStan:
composer test:types # level max by default
โ Run unit tests using PEST
composer test:unit # 100% test coverage...
๐ Run the entire test suite:
composer test # the entire test suite...
โ๏ธ Better defaults for testing, including:
- Fake sleeps
- Stray http requests
- Browser testing
- and more...
๐ญ Different application structure with:
app/Actions
- for application actionsapp/Enums
- for enumerations- and more...
๐ค Agent coding style rules with Laravel Boost, with support for:
- PHPStorm Junie
- Claude AI
- and more...
License
Laravel Starter Kit was created by Nuno Maduro under the MIT license.