Contributing
-
Please create an issue first. This way we can discuss it before you spend your time implementing it - it might not be feasible or might not align with the intended purpose of this library.
-
Fork the repository.
-
Clone it and install dependencies:
Terminal window docker compose run -it --rm php composer i -
Work on your feature/fix. Make sure to add tests that cover your work.
-
Before committing, make sure you run the tests, PHPStan as well as code style fixer:
Terminal window docker compose run -it --rm php composer testdocker compose run -it --rm php composer phpstandocker compose run -it --rm php composer cs-fix -
If it is a noticeable feature, don’t forget to update the documentation in
docs/src/content. You can preview your changes locally:Terminal window # Docs will be available at http://localhost:30050docker compose up -d -
Commit, push and create a PR :)