Skip to content

woohoolabs/coding-standard

Repository files navigation

Woohoo Labs. PHP Coding Standard

Latest Version on Packagist Software License Total Downloads

Woohoo Labs. PHP Coding Standard based on PSR-12, Doctrine, and Slevomat Coding Standards

Table of Contents

Introduction

This library provides the Woohoo Labs. Coding Standard rules for PHP CodeSniffer. It is inspired by and built upon the Doctrine Coding Standard and the Slevomat Coding Standard.

Install

The only thing you need before getting started is Composer.

Install PHP Coding Standard:

To install the latest version of this library, run the command below:

$ composer require woohoolabs/coding-standard

The latest version of PHP Coding Standard requires PHP 7.4 at least.

Usage

Just add the default phpcs.xml file (it can be found in the root directory) to your project and you are ready to use the Woohoo Labs. Coding Standard when running phpcs.

Versioning

This library follows SemVer v2.0.0.

Change Log

Please see CHANGELOG for more information on recent changes.

Contributing

Please see CONTRIBUTING for details.

Support

Please see SUPPORT for details.

Credits

License

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