PHPackages                             jumptwentyfour/php-coding-standards - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. jumptwentyfour/php-coding-standards

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

jumptwentyfour/php-coding-standards
===================================

Coding standards for our PHP applications.

V3.0.0(1y ago)4110.4k↓25%1[1 PRs](https://github.com/JumpTwentyFour/php-coding-standards/pulls)1MITPHPPHP ^8.0

Since Feb 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JumpTwentyFour/php-coding-standards)[ Packagist](https://packagist.org/packages/jumptwentyfour/php-coding-standards)[ RSS](/packages/jumptwentyfour-php-coding-standards/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (39)Used By (1)

PHP Coding Standards
====================

[](#php-coding-standards)

At [Jump24](https://jump24.co.uk/) we pride ourselves on keeping our coding standards under tight control, this is why we built this package.

Installation
------------

[](#installation)

To install this package, simply use composer:

```
composer require jumptwentyfour/php-coding-standards
```

Setup
-----

[](#setup)

Once installed you will have access to our PHPStan configuration file, which you can easily add to your `phpstan.neon`:

```
includes:
    - ./vendor/jumptwentyfour/php-coding-standards/phpstan.neon
```

Running
-------

[](#running)

To run the code standard checks, simply run the following command:

```
./vendor/bin/ecs check
```

This will run the configured code standard checks for you, giving you feedback on where your code is and what improvements you need to implement

Extending
---------

[](#extending)

These code standards are extendable, all you need to do is create your own `ecs.php` in the root directory of your project:

```
