CakePHP Plugin Skeleton
CakePHP plugin skeleton to quickly start with your next plugin idea.
Requires CakePHP 4.1.0+ and PHP 7.2.0+
Composer:
Create your plugin usingcomposer create-project ishanvyas22/cakephp-plugin-skeleton --prefer-source my-awesome-plugin
CakePHP Code Sniffer:
Check coding standard withcomposer cs-check
CakePHP Code Sniffer:
Auto format code withcomposer cs-fix
Fix & Check coding standard together using single command:
composer check
PHPStan:
Run static analysis usingcomposer analyze
PHPUnit
Run unit tests usingcomposer test