You'll need:
- PHP 7.4 minimum.
- docker, for the database.
- symfony CLI, to run the local server.
- composer, to install PHP dependencies.
- npm and yarn, to install ui dependencies and build the JS/CSS files.
make install
This will run a Sylius app (the one in tests/Application/
) with the plugin
installed and all Sylius' sample data. It uses the symfony binary.
make help
-
PHPUnit
make test.phpunit
-
PHP CS fixer
make test.phpcs
Tip: You can fix your code with
make test.phpcs.fix
! -
PHPSpec
make test.phpspec
-
PHPStan
make test.phpstan
Tip: You can run all tests with
make test.all
!