Command-line tool for generating
Composer package skeleton (file structure, basic coding standard checkers and code analysing tools, pre-commit hooks...) suitable for Github.
- File structure according to PDS/Skeleton
- Code style checker compliant with PSR-2
- Pre-commit hook for PHP lint and code style check
- Suggests other useful libraries
Mainly because of my laziness. It helps me create package with all the juicy files like .editorconfig
, .gitattributes
and helps me jump strait to a new project.
Second reason is that if I change some basic code style checking tool, I would like to have an easy way to upgrade this tool in all my projects.
Run following command for adding wimby/skeleton as your development dependency:
composer require-dev wimby/skeleton
You need to add the following lines to your composer.json
file:
"scripts": {
"post-create-project-cmd": "Wimby\\Skeleton::postCreateProject"
}
composer create-project
or
composer run-script post-create-project-cmd
WTFPL - Do What the Fuck You Want to Public License