$ git clone [email protected]:darrenjacoby/intervention.git
$ composer install
Run Easy Coding Standards to ensure new code complies with PSR-12 guidelines.
$ composer lint
Most errors can easily be fixed with:
$ composer lint:fix
Changes to composer.json
require a build step to create a dist
folder for WordPress users who do not use Composer to manage their depedencies.
Run Phing to build the dist
folder.
$ composer build
Changes to folder resources/
require a build step to create a assets
folder for styles and scripts. If you have run composer build
prior you can skip this step.
Run NPM to build the assets/styles
and assets/scripts
folder.
$ composer build:assets