- Fork this repository to your own GitHub account and then clone it to your local machine.
- Install the dependencies (
composer install --dev
) - Create a new branch (
git checkout -b feat/new-feature
) - Write your feature or fix and make sure tests pass and code standards are met (see below)
- Commit your changes (
git commit -m 'feat(new-feature): some feature or fix'
) - Push to the branch (
git push origin feat/new-feature
) - Open a pull request
This project provides a Docker setup that allows working on it using any of the supported PHP versions.
To use it, you first need to install:
Make sure the versions installed support Compose file format 3.9.
You can then build the images:
docker compose up --build -d
Now you can run commands needed to work on the project. For example, say you want to install the dependencies on PHP 8.0:
docker-compose run codice-fiscale-php-80 composer install
or for enter the container
docker-compose exec codice-fiscale-php-80 sh
To run the test use the command below:
composer test