- PHP 8.x or greater
- FFI and Sockets extensions enabled in your php.ini
- Run
composer install
- This will install php dependencies to
vendor
- This will install pact libraries to
bin
- This will install php dependencies to
- Run
composer test
- This will run our unit tests
- Run
composer lint
- This will run the phpcs-lint
- Run
composer fix
- This will correct any auto fixable linter errors
- Run
composer static-code-analysis
- Run static code analysis
- MacOS ARM
- Tart.run
- Cirrus-CLI
Run all versions of PHP
cirrus run --output github-actions macos_arm64 -e CIRRUS_CLI=true
Run a specified version of PHP
cirrus run --output github-actions 'macos_arm64 VERSION:8.2' -e CIRRUS_CLI=true
- Docker
- x86_64 or arm64/aarch64 host
Run all versions of PHP
cirrus run --output github-actions linux_arm64
Run a specified version of PHP
cirrus run --output github-actions 'macos_arm64 VERSION:8.2'