This document describes various tools used during development of this library.
To install the dependencies required for the development and usage of this
library, run composer install through the supplied docker compose setup.
docker compose run --rm phpfpm composer installWe use the PHPUnit testing framework.
To run tests execute the following command:
docker compose run --rm phpfpm vendor/bin/phpunit --coverage-clover=coverage/unit.xmlThe following commands let you test that the code follows the coding standards we decided to adhere to in this project.
docker compose run --rm phpfpm composer coding-standards-checkdocker compose run --rm node yarn install
docker compose run --rm node yarn run coding-standards-checkYou can automatically fix some coding styles issues by running:
docker compose run --rm phpfpm composer coding-standards-apply