A strict, production-ready Laravel Livewire starter with opinionated defaults for code quality, static analysis, and maintainability. Built on top of livewire starter kit
- PHP
8.3or higher - Laravel
13.x - Livewire
4.x - Pest PHP (testing)
- PHPStan (static analysis)
- Laravel Pint (formatting)
- Rector (automated refactoring)
- Strict and opinionated Laravel configuration. See app/Providers/AppServiceProvider
- Action-based architecture (
make:actioncommand for creating new action classes) - Static analysis with PHPStan (level 6). See phpstan.neon
- Automated refactoring with Rector. See rector.php
- Consistent code style via Laravel Pint. See pint.json
- Full testing setup using Pest.
- Built-in log viewer for debugging.
This template enforces:
- Explicit over implicit
- Static analysis first
- Small, testable classes (Actions pattern)
- Minimal magic
- Production-ready defaults
- Create your project based on this template
Using GitHub CLI
gh repo create <your-project> --template amyavari/laravel-skeleton-strict-configs --clone
cd <your-project>Using GitHub GUI
- Click the "Use this template" button on this page and create your repository.
- Clone the repository
git clone https://github.com/<your-username>/<your-project>.git
cd <your-project>- Install dependencies
composer install
npm install- Setup environment
cp .env.example .env
php artisan key:generate- Run migrations
php artisan migrate- Start development
php artisan serve
npm run devAll contributions are highly welcomed!
Laravel Skeleton with Strict Configs was created by Ali Mohammad Yavari under the MIT license.