First off, thanks for taking the time to contribute!
For local package development use Docker:
- Pull code and build Test container.
- Fork the project.
git clone https://github.com/Ouxsoft/phpmarkup.git
cd phpmarkup
docker build --target test --tag phpmarkup:latest -f Dockerfile .
docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ phpmarkup:latest composer install
- Make your code changes using CODING_STANDARDS.md.
- Run Automated QA using local volume.
- Test your changes using
composer test
. - Update or add tests to avoid the change breaking in future releases.
docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ phpmarkup:latest composer qc
- Run
composer update
to update composer packages and commit newcomposer.lock
file. - Rebuild Docs
docker build --target docs --tag phpmarkup:docs-latest -f Dockerfile .
docker run -it --mount type=bind,source="$(pwd)"/,target=/app/ phpmarkup:docs-latest bash -c "cd /app/docs && doxygen Doxyfile && doxyphp2sphinx Ouxsoft::PHPMarkup"
- Submit a pull request.
Please report issue and open new tickets: