kEpEx / laravel-crud-generator

php artisan command to generate fully working crud with grid paginated server side only by having database tables
MIT License
98 stars 44 forks source link

Directory Changing #12

Closed qeifar closed 7 years ago

qeifar commented 7 years ago

Let's says I need to generate the Model in App/Models folder.. not in App/ folder.. Which code I should change? This? https://github.com/kEpEx/laravel-crud-generator/blob/master/src/CrudGeneratorService.php

SamyOteroGlez commented 7 years ago

@qeifar

All the model creation logic happens in createModel(). I would start looking there.

Cheers

qeifar commented 7 years ago

The controller and view successfully transfered to my required directory but not for the model: when I changed https://github.com/kEpEx/laravel-crud-generator/blob/master/src/CrudGeneratorService.php

On the url part.. Did I need to adjust other file too?

qeifar commented 7 years ago

just edit "Artisan:call" instead. from make model User.. to make model Models/User.. 💯 Thanks everyone!