php laravel

php_laravel

Configuration

Minimum Version
8.2
Package Manager
composer
Test Framework
phpunit
Linter
phpstan
Formatter
php-cs-fixer
Test Runner
phpunit

Policy

Declare strict_types=1 in every file or bootstrap.
Prefer attributes over legacy docblock annotations.
Raise phpstan level to max and block baseline drift.

Commands

lint vendor/bin/phpstan analyse --memory-limit=1G
test vendor/bin/phpunit --coverage-text
format vendor/bin/php-cs-fixer fix --allow-risky=no
install composer install --prefer-dist --no-progress

Included in Rulesets

Laravel Guidelines
20 rules • 1 standard
View
PHP Guidelines
20 rules • 1 standard
View
Composer Standards
22 rules • 1 standard
View

Add This Standard

Sign in to add this standard to your workspace

Sign in with GitHub

Details

Language
php
Framework
laravel
Used in
3 rulesets