cookiecutter-php icon indicating copy to clipboard operation
cookiecutter-php copied to clipboard

Cookiecutter template for new PHP projects.

Cookiecutter PHP

Cookiecutter template to kickstart new PHP projects.

Features

Quickstart

Install Cookiecutter:

$ pip install -U cookiecutter
# Or, on a mac with Homebrew
$ brew install cookiecutter

Generate a new PHP project:

$ cookiecutter gh:jeromegamez/cookiecutter-php

Demo

asciicast

User config

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: "[email protected]"
    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