Developer toolbox for avoid boring setup during development
Whitecat is a developer toolbox of cli command. Each command is thought for avoid boring setup in developing of PHP: Packages, Library, Composer Plugin or everything you're building!
composer require --dev trusted97/whitecatList the commands available in Whitecat:
vendor/bin/whitecat listEvery generator command writes to the current working directory by default. To target another project without changing directories, pass --working-dir:
vendor/bin/whitecat phpunit:init --working-dir=/path/to/projectCommands that depend on Composer tooling validate the target project's composer.json first and print the exact composer require --dev ... command when a dependency is missing.
This command setup basic docker environment for your library
vendor/bin/whitecat docker:setupThis command setup basic .github directory and related files for your library
vendor/bin/whitecat github:initThis command setup basic workflows for GitHub through actions
vendor/bin/whitecat github:workflowThis command setup basic issue template for your library
vendor/bin/whitecat github:issueThis command setup basic pull request template for your library
vendor/bin/whitecat github:pullThis command setup a basic PHP CS Fixer config file and check if in composer is installed
vendor/bin/whitecat php-cs-fixer:initThis command setup a basic PHPStan config file with starting level of 6 and check if in composer is installed
vendor/bin/whitecat phpstan:initThis command setup a basic PHPUnit config file and check if in composer is installed
vendor/bin/whitecat phpunit:init| Repository Branch | PHP Compatibility | Status | Docs |
|---|---|---|---|
1.x |
^8.2 |
New features and bug fixes | Documentation 1.x |
Any questions, bug reports or suggestions for improvement are very welcome. See the contributing file for details on how to contribute.
Whitecat is licensed under the MIT license. See the LICENSE file for more information.