Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Laravel Starter Kit

Laravel Starter Kit stats

Downloads
109
Stars
336
Open Issues
2
Forks
48

View on GitHub →

The skeleton application for the Laravel framework.

Laravel Starter Kit

Build Status Total Downloads Latest Stable Version License

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 actions
  • app/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.

nunomaduro photo

staff software engineer at @laravel · speaker · content creator · created @pestphp, pint, pail, @larastan, @laravel-zero, @openai for php, @phpinsights, etc

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Nunomaduro Laravel Starter Kit Related Articles

Laravel Starter Kit by Nuno Maduro image

Laravel Starter Kit by Nuno Maduro

Read article
TypeScript Support Added to Laravel Breeze image

TypeScript Support Added to Laravel Breeze

Read article
The Certification of Competence for Laravel logo

The Certification of Competence for Laravel

A community-driven, proctored assessment across 4 levels designed to validate real-world Laravel knowledge, from Junior to mastery-level Artisan. Official Vue.js, Official Nuxt, Angular, React, JS certifications also available.

The Certification of Competence for Laravel
Celebian logo

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Honeybadger logo

Honeybadger

Simple developer-focused application monitoring for Laravel. Error tracking, log management, uptime monitoring, status pages, and more!

Honeybadger