Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Coding Standard Laravel Package

cline/coding-standard

Opinionated PHP-CS-Fixer + Rector presets for modern PHP 8.4+ projects. Enforces strict coding standards, naming conventions, and architecture rules, with custom fixers, PHPDoc wrapping, and optional legacy tag/header rules for incremental adoption.

View on GitHub
Deep Wiki
Context7

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads


Opinionated PHP-CS-Fixer configuration with custom fixers and presets for modern PHP projects. Enforces strict coding standards, naming conventions, and architectural patterns.

PHPDoc presets also include an 80-column docblock prose wrapper so long descriptions stay readable without relying on manual formatting. The bundled Rector preset also enables PHP 8.5 pipe-operator migrations for nested function calls and sequential assignment chains. The Standard preset removes @author tags by default while still allowing explicit opt-in to the legacy author-tag fixer. It also removes @version tags by default while still allowing explicit opt-in to the legacy version-tag fixer. It removes the file-level license header by default while still allowing explicit opt-in to the legacy header_comment rule. It does not infer @psalm-immutable from PHP's shallow readonly modifier. Add that semantic annotation intentionally, or explicitly opt in to the deprecated fixer when every targeted class satisfies Psalm's behavioral immutability contract. For EasyCodingStandard configs, prefer Factory::configure(...) in ecs.php; the older Factory::create(...) closure API remains available for compatibility.

Requirements

Requires PHP 8.4+

Installation

composer require cline/coding-standard --dev

Documentation

  • Basic Usage - Getting started with configuration and running fixers
  • Custom Fixers - Architecture and naming convention fixers
  • Presets - Standard, PHPDoc, PHPUnit, and Ordered rule presets

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor