amyavari / laravel-skeleton-strict-configs
A skeleton for starting a new Laravel project with proven, strict configurations that follow best practices.
Package info
github.com/amyavari/laravel-skeleton-strict-configs
Language:Blade
Type:project
pkg:composer/amyavari/laravel-skeleton-strict-configs
Requires
- php: ^8.3
- laravel/fortify: ^1.30
- laravel/framework: ^13.0
- laravel/tinker: ^3.0
- livewire/flux: ^2.9.0
- opcodesio/log-viewer: ^3.21
Requires (Dev)
- driftingly/rector-laravel: ^2.5
- fakerphp/faker: ^1.23
- larastan/larastan: ^3.8
- laravel/pail: ^1.2.2
- laravel/pint: ^1.24
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- pestphp/pest: ^4.2
- pestphp/pest-plugin-browser: ^4.1
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-type-coverage: ^4.0
- rector/rector: ^2.2
This package is auto-updated.
Last update: 2026-06-10 16:51:50 UTC
README
A strict, production-ready Laravel Livewire starter with opinionated defaults for code quality, static analysis, and maintainability. Built on top of livewire starter kit
Tech Stack
- PHP
8.3or higher - Laravel
13.x - Livewire
4.x - Pest PHP (testing)
- PHPStan (static analysis)
- Laravel Pint (formatting)
- Rector (automated refactoring)
Features
- 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.
- Log viewer for debugging.
Philosophy
This template enforces:
- Explicit over implicit
- Static analysis first
- Small, testable classes (Actions pattern)
- Minimal magic
- Production-ready defaults
Getting Started
- Create your project based on this template
Using Composer
composer create-project amyavari/laravel-skeleton-strict-configs <your-project> cd <your-project>
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 dev
Contributing
All contributions are highly welcomed!
License
Laravel Skeleton with Strict Configs was created by Ali Mohammad Yavari under the MIT license.