Cookiecutter template to kickstart new PHP projects.
- Automated Composer Setup
- Testing setup with PHPStan and PHPUnit (
composer test
) - Ready-to-go GitHub Actions
$ pip install -U cookiecutter
# Or, on a mac with Homebrew
$ brew install cookiecutter
Generate a new PHP project:
$ cookiecutter gh:jeromegamez/cookiecutter-php
If you use this (or other) Cookiecutters a lot, you can override the defaults by having
a .cookiecutterrc
file in your home directory:
default_context:
full_name: "My full name"
email: "me@example.com"
github_username: "mygithubusername"
abbreviations:
php: https://github.com/jeromegamez/cookiecutter-php
You can find more information at https://cookiecutter.readthedocs.io/en/latest/advanced/user_config.html