This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

An elegant, customizable code-style checker.

dev-master 2019-05-01 14:06 UTC

This package is auto-updated.

Last update: 2021-06-29 01:34:28 UTC


Build Status Code Coverage Downloads this Month Latest stable

Stylist combines the power of the AST with the simplicity of code tokens to create a PHP code style checker that's actually pleasant to use, configure, and even extend.


  1. Install via Composer:

    $ composer require --dev stylist/stylist
  2. Configure in stylist.neon:

        - Stylist\Checks\Arrays\Syntax\ShortArraySyntaxCheck
  3. Run

    $ php vendor/bin/stylist check src/