Home

Awesome

Whitecat 🐱

🧪 Test codecov Packagist PHP Version GitHub Packagist Version justforfunnoreally.dev badge PHPStan Enabled Maintainability

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!

Table of Contents

Install

In composer.json

"require-dev": {
    "trusted97/whitecat": "^1.0.0"
},

Or

In Shell

composer require --dev trusted97/whitecat

Usage

This command list all possible command available in whitecat

vendor/bin/whitecat list

Docker setup

This command setup basic docker environment for your library

vendor/bin/whitecat docker:setup

Github Init

This command setup basic .github directory and related files for your library

vendor/bin/whitecat github:init

GitHub Workflows

This command setup basic workflows for GitHub through actions

vendor/bin/whitecat github:workflow

GitHub Issue

This command setup basic issue template for your library

vendor/bin/whitecat github:issue

GitHub Pull

This command setup basic pull request template for your library

vendor/bin/whitecat github:pull

PHP CS Fixer

This command setup a basic PHP CS Fixer config file and check if in composer is installed

vendor/bin/whitecat php-cs-fixer:init

PHPStan

This command setup a basic PHPStan config file with starting level of 6 and check if in composer is installed

vendor/bin/whitecat phpstan:init

PHPUnit

This command setup a basic PHPUnit config file and check if in composer is installed

vendor/bin/whitecat phpunit:init

Compatibility

Repository BranchPHP CompatibilityStatusDocs
1.x^8.1New features and bug fixesDocumentation 1.x
2.x^8.3New features and bug fixesDocumentation 1.x

Contributing

Any questions, bug reports or suggestions for improvement are very welcome. See the contributing file for details on how to contribute.

License

Whitecat is licensed under the MIT license.
See the LICENSE file for more information.