Skip to content

jewei/laravel-skeleton

Repository files navigation

Laravel Skeleton

Tests Static analysis

Start a new project by scaffolding a PHP 8.2, Laravel 11 app. It combines the latest technologies and best practices.

Usage

You can scaffold the Laravel app via composer:

composer create-project jewei/laravel-skeleton

What's included?

  1. Github Action workflow: run tests, static analysis and code formatting fix.
  2. Configured Eloquent Strictness.
  3. Pest: Architecture Testing.
  4. Test: Use LazilyRefreshDatabase instead of RefreshDatabase.
  5. HTTP Client: Prevents stray requests.
  6. Pint: Styling with Laravel preset.
  7. Rector: Laravel upgrade rules set.
  8. Middlewares: Collection of useful middlewares.
  9. Removed Sail - Docker is complicated.

What's next?

  1. Update this file README.md to reflect your new project.
  2. Install a Laravel starter kit of your choice.
  3. Find out more on Laravel's documentation about next step.
  4. If you're already familiar with Laravel, there's VILT stack and TALL stack to build reactive application.

Generally, you can start with Breeze for simple app:

composer require laravel/breeze --dev
php artisan breeze:install

Or you can choose Jetstream for full fledge app:

composer require laravel/jetstream
php artisan jetstream:install livewire --dark --teams

About

Opinionated Laravel skeleton to scaffold new project configured with best practices.

Topics

Resources

Stars

Watchers

Forks