echo-fusion / codestandard
This project contains the code standard for echoFusion framework
Requires
- php: ~8.1.0 || ~8.2.0 || ~8.3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- vimeo/psalm: ^5.26
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-12 12:01:50 UTC
README
This package promotes uniformity across all EchoFusion framework packages by establishing a standardized set of rules for the "friendsofphp/php-cs-fixer" package.
Part of EchoFusion, a modular PHP framework built from small packages.
Installation
composer require echo-fusion/codestandard
Requirements
- PHP 8.1, 8.2 or 8.3
Usage
To develop packages that will integrate with the EchoFusion framework, follow this rule set configuration. Here's how to apply it:
Copy the phpcs-fixer configuration file from the template directory and remove the 'template' extension. Your final configuration file should be named:
.php-cs-fixer.dist.php
Now you can execute command:
./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php
Testing
composer test
Credits
License
The MIT License (MIT). Please see LICENSE for more information.