I' m developing a plugin for october cms. But I have yet a database with table on mySQL. Now I'm looking for a methods to autogenerate "models" based on the database table. I' m looking for somethings like the laravel command
php artisan code:models
to work on the plugin.
thanks
I believe what youre looking for is:
php artisan create:model Acme.Blog Post
The create:model command generates the files needed for a new model. The first parameter specifies the author and plugin name. The second parameter specifies the model class name.
reference: https://octobercms.com/docs/console/scaffolding#scaffold-create-model