Create a new blank library.
The library will use the test tools as specified in Jasny Code Quality.
Upon installation, a new repository on GitHub is created and the project is enabled for Travis and Scrutinizer.
The following environment variables are used
PACKAGIST_VENDOR
(required) - Vendor name for packageGITHUB_REPO
- Github repository name, defaults tovendor/library
You name, email address, and homepage are read from git global config. Set this as
git config --global --add user.name <YOUR NAME>
git config --global --add user.email <YOUR EMAIL>
git config --global --add user.homepage <YOUR HOMEPAGE>
For Scrutinizer, also configure the following env vars
SCRUTINIZER_ACCESS_TOKEN
- Required for using scrutinizerSCRUTINIZER_ORGANIZATION
- Omit to use your personal accountSCRUTINIZER_GLOBAL_CONFIG
- Use a global configuration in addition toscrutinizer.yml
.
composer create-project jasny/library -s dev --remove-vcs <LIBRARY NAME>