Thursday, March 30, 2017

PHP Laravel Framework - How to delete a table/model using appzcoder crud-generator

I am using https://github.com/appzcoder/crud-generator to generate CRUDs for setup tables. When use the command

php artisan crud:generate Posts --fields_from_file="/path/to/fields.json" --view-path=admin --controller-namespace=Admin --route-group=admin

It generates model/controller/views/migrations for the provided table name. Is there any command how can I delete everything (model/controller/views/migrations) related to the table name?



via M Idrees

Advertisement