Loading...
Loading...
Apply Spatie's Laravel and PHP coding standards for any task that creates, edits, reviews, refactors, or formats Laravel/PHP code or Blade templates; use for controllers, Eloquent models, routes, config, validation, migrations, tests, and related files to align with Laravel conventions and PSR-12.
npx skill4agent add spatie/boost-spatie-guidelines spatie-laravel-php-standards.php.blade.php.php.blade.phpreferences/spatie-laravel-php-guidelines.mdvoid?stringelseconfig()env()@lang__()if (! $user) {
return null;
}
if (! $user->isActive()) {
return null;
}
$name = $isFoo ? 'foo' : 'bar';@if($condition)
Something
@endifreferences/spatie-laravel-php-guidelines.md