This extension provides no-more-butthurt components autocomplete generator command for Yii 2.
Usage ¶
To use this extension, simply add the following code in your application configuration (console.php):
'controllerMap' => [
'stubs' => [
'class' => 'bazilio\stubsgenerator\StubsController',
],
],
# generate stubs for console application
php yii stubs console
# to generate stubs for several apps
php yii stubs console common frontend
File with stubs by default located in vendor directory.
Usage with PhpStorm ¶
- Install File Watchers JetBrains plugin
- Open File Watchers plugin config and import watcher.xml
- Edit imported watcher for your needs
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.