spatie/boost-spatie-guidelines
AI-optimized Spatie coding guidelines for Laravel Boost. Installs battle-tested Laravel & PHP standards into your .ai/guidelines folder so AI assistants generate PSR-compliant, convention-driven code (types, naming, control flow, testing) automatically.
Bring Spatie's battle-tested Laravel & PHP coding guidelines to your AI-assisted development workflow with Laravel Boost.
Install the package via Composer:
composer require spatie/boost-spatie-guidelines --dev
Then install the guidelines with Boost:
php artisan boost:install

Select the Spatie guidelines from the list and they'll be installed to .ai/guidelines/boost-spatie-guidelines/.
This package provides AI-optimized versions of Spatie's Laravel & PHP coding standards, including:
These guidelines help AI assistants like Claude Code generate code that follows Spatie's proven standards.
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Once installed, AI assistants using Laravel Boost will automatically reference these guidelines when generating code. No additional configuration needed!
Re-run the Boost installer after updating the package to refresh guidelines:
composer update spatie/boost-spatie-guidelines
php artisan boost:update
View the complete, human-readable guidelines at spatie.be/guidelines.
Please see CHANGELOG for recent changes.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.
We publish all received postcards on our company website.
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?