Template repository to quickstart library development.
- PHP 8.1 or later (https://php.net)
- Git (https://git-scm.com) available as global
gitcommand - Composer (https://getcomposer.org) available as global
composercommand - Phive (https://phar.io) available as global
phivecommand
If one of the CLI tools is not available as global command you may have to change the .installer/install.php or composer.json
to adapt to your environment.
This template uses an installer to setup all the files that need replacing of placeholders but most files are just kept as they are.
TODOs:
- Create the new repository on GitHub using this repository as template
- Add protection rules for master and release branches since they are not copied from the template :(
- Clone the new repository to local
- Start the container using docker compose with the docker-compose.yml in the project root
- Run the installer by executing
composer run-installerin the container - Add and commit your files and push them to remote
- Submit the new package to packagist
- Get to work! ;)