cakephp3 – Bake

Pocket
LINEで送る

composerでインストール

$ composer require --dev cakephp/bake:~1.0
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files
> Cake\Composer\Installer\PluginInstaller::postAutoloadDump

bake

下記のような感じでbakeできる。2と特段変わらない。

$bin/cake bake model users
$bin/cake bake controller users
$bin/cake bake template users
Pocket
LINEで送る

コメントください