How to create initial migrations from complete db

I’ve used cakephp recently and it is clear in the docs that one line will build a migration script from a current, ready database but looking at the Yii docs I just can’t see anything similar ?

From a quick Google:

https://packagist.org/packages/insolita/yii2-migration-generator

https://packagist.org/packages/fproject/yii2-migration-generator

https://packagist.org/packages/tahiaji/yii2-migration-generator