This extension provides no-more-butthurt components autocomplete generator command for Yii 2.
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.