New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

rabiloo/coding-standard

Rabiloo's PHP coding standard
12,709
Install
composer require rabiloo/coding-standard
Latest Version:v0.1.1
PHP:^8.0
License:MIT
Last Updated:Jun 22, 2026
Links: GitHub  ·  Packagist
Maintainer: oanhnn

PHP Coding Standard

Latest Version on Packagist Tests Total Downloads

Rabiloo's PHP coding standard

Installation

You can install the package via composer:

composer require rabiloo/coding-standard --dev

Add it to your project phpcs.xml or phpcs.xml.dist ruleset:

<?xml version="1.0"?>
<ruleset>
    <arg value="p"/>
    <arg value= "s"/>
    <arg name="colors"/>

    <file>app</file>
    <file>bootstrap</file>
    <file>config</file>
    <file>database</file>
    <file>lang</file>
    <file>routes</file>
    <file>tests</file>
    <file>public</file>

    <exclude-pattern>*/*.js</exclude-pattern>
    <exclude-pattern>*/*.css</exclude-pattern>
    <exclude-pattern>*/*.xml</exclude-pattern>
    <exclude-pattern>*/*.blade.php</exclude-pattern>
    <exclude-pattern>bootstrap/cache</exclude-pattern>

    <rule ref="./vendor/rabiloo/coding-standard/ruleset.xml"/>
</ruleset>

Laravel

If you use it with Laravel project, you can install by commands

composer require rabiloo/coding-standard --dev
php artisan vendor:publish --tag rabiloo-coding-standard

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

Related Packages

hosmelq/php-coding-standard

Opinionated ECS, Rector, and PHPStan presets for PHP and Laravel packages and ap...

552 0
pekral/phpcs-rules

Custom ruleset for PHP_CodeSniffer (PHPCS) with additional rules and configurati...

17,765 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

651,963,193 9,701
laravel/framework

The Laravel Framework.

610,364,751 34,988
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444

Version History

Version Released PHP License
v0.1.1 ^8.0 MIT
v0.1.0 ^8.0 MIT