Asplode is open source software; contributions from the community are encouraged. Please take a moment to read these guidelines before submitting changes.
All PHP code must adhere to the PSR-2 standards.
As a guideline, please follow this process:
- Fork the repository.
- Create a topic branch for the change, branching from develop
(
git checkout -b branch-name develop
). - Make the relevant changes.
- Squash commits if necessary (
git rebase -i develop
). - Submit a pull request to the develop branch.
This project uses Archer for testing, and API documentation generation:
- Run the tests with
vendor/bin/archer t path/to/tests
, or simplyvendor/bin/archer
to run the entire suite. - Generate a coverage report with
vendor/bin/archer c path/to/tests
, or simplyvendor/bin/archer c
to generate coverage for the entire suite. Add-o
to open the report in your browser. - Generate API documentation with
vendor/bin/archer d
. Serve withphp -S localhost:8000 -t artifacts/documentation/api/
, and open your browser to http://localhost:8000/.
For more detailed usage, see the Archer documentation.