Laravel Skeleton

The Laravel Skeleton offers a rapid and efficient way to start a new project by scaffolding a Laravel app with minimal setup.

Laravel Skeleton
Photo by Emile Perron / Unsplash
My version of Laravel Skeleton is live on GitHub

Starting a new Laravel project often involves repetitive tasks, such as configuring basic settings, integrating essential tools, and laying down the initial structure. The Laravel Skeleton project comes as a refreshing solution to this problem, allowing developers to scaffold an PHP/Laravel app with ease.

What Is Laravel Skeleton?

Laravel Skeleton is a project template that combines the latest technologies and best practices to provide a solid starting point for new Laravel projects. Created with a focus on quality and efficiency, it simplifies the setup process and includes valuable integrations that every modern Laravel application may need.

Get Started in Seconds

You can scaffold your Laravel app via Composer with the following command:

composer create-project jewei/laravel-skeleton

What's Included?

Laravel Skeleton comes with a host of features and tools:

  1. Github Action Workflow: Automatically run tests, static analysis, and code formatting fixes.
  2. Configured Eloquent Strictness: Ensure strict adherence to Eloquent best practices.
  3. Pest: Leverage architecture testing for better code quality.
  4. Test Enhancements: Use LazilyRefreshDatabase instead of RefreshDatabase for optimized testing.
  5. HTTP Client Enhancements: Prevent stray requests and enhance security.
  6. Pint: Styling with Laravel preset for beautiful code formatting.
  7. Rector: Utilize Laravel upgrade rules set to simplify future upgrades.
  8. Middleware Enhancements: Utilize ResponseWithJson for APIs for streamlined JSON responses.
  9. Simplified Setup: Removal of Sail, as Docker may be overcomplicated for some projects.

Want more? Here's to the Github repository:

GitHub - jewei/laravel-skeleton at jewei.net
Opinionated Laravel skeleton to scaffold new project configured with best practices. - GitHub - jewei/laravel-skeleton at jewei.net