Package

Nunomaduro Laravel Starter Kit

The skeleton application for the Laravel framework.

Package

nunomaduro/laravel-starter-kit

View on GitHub →

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 Laravel Starter Kit Related Articles

PHPInsights v2 is Here image

PHPInsights v2 is Here

Read article
Laravel Nuxt UI Starter Kit image

Laravel Nuxt UI Starter Kit

Read article
Laravel Starter Kit by Nuno Maduro image

Laravel Starter Kit by Nuno Maduro

Read article
A Blade-Only Starter Kit for Laravel 12 Projects image

A Blade-Only Starter Kit for Laravel 12 Projects

Read article
Laravel Adds an Official Svelte + Inertia Starter Kit image

Laravel Adds an Official Svelte + Inertia Starter Kit

Read article
Getting to Know Laravel's New Starter Kits image

Getting to Know Laravel's New Starter Kits

Read article

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing

Shift

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

Shift

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum