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

Code Style Laravel Package

spiral/code-style

PER-2–based PHP CS Fixer ruleset for Spiral components. Install as a dev dependency, add a .php-cs-fixer.dist.php via the Builder to include project paths, run via composer scripts, and integrate checks or auto-fixes in GitHub Actions CI.

View on GitHub
Deep Wiki
Context7
v2.3.1

What's Changed

New Contributors

Full Changelog: https://github.com/spiral/code-style/compare/v2.3.0...v2.3.1

v2.3.0

What was changed

  • Replaced php-cs-fixer with php-cs-fixer/shim

Full Changelog: https://github.com/spiral/code-style/compare/v2.2.2...v2.3.0

v2.2.2
v2.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/spiral/code-style/compare/v2.2.0...v2.2.1

v2.2.0

What was changed

  • Added support for PHP 8.0
  • Added a few rules about cleaning phpdocs
  • Added rule remove_inheritdoc

Full Changelog: https://github.com/spiral/code-style/compare/v2.1.2...v2.2.0

v2.1.2

Rules: fix attributes placement in methods method_argument_space.attribute_placement = ignore

Full Changelog: https://github.com/spiral/code-style/compare/v2.1.1...v2.1.2

v2.1.1

Fix: split risky and non-risky rules in the default ruleset

Full Changelog: https://github.com/spiral/code-style/compare/v2.1.0...v2.1.1

v2.0.0

What's Changed

  • Added CS Fixer config builder with a preset based on PER-2
  • Removed console commands
  • Removed CodeSniffer support

New Contributors

Full Changelog: https://github.com/spiral/code-style/compare/v1.1.0...v2.0.0

v1.1.0

What's Changed

Full Changelog: https://github.com/spiral/code-style/compare/v1.0.6...v1.1.0

v1.0.6
  • Added -c flag for custom .custom_php_cs fixer's ruleset (#3)
  • Added -r flag for custom phpcs.xml checker's ruleset (#3)
v1.0.5
  • Downgrade PHP-Fixer to v2
v1.0.4
  • Upgrade php-cs-fixer dependency (allow ^3.0 version)
v1.0.3
  • Allow PHP 8.0
v1.0.2
  • bug fix in line ending iterator
  • add unit tests
v1.0.1
  • minor refactor in line-ending fixer
v1.0.0
  • first technical release
v0.2.0
  • fixing CRLF line endings on Windows
v0.1.0
  • created wrapper with preset rules for phpcs and php-cs-fixer
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport