Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store Models in Prefix folders? #208

Closed
kay899 opened this issue Jun 19, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@kay899
Copy link

commented Jun 19, 2016

I just wonder if it makes really sense to store the Models in a prefixed folder like it is happening actually?

When I do

php artisan infyom.scaffold:views Post --prefix=admin

the model is stored under App\Models\Admin\Post.php.

Could this be configurable?

I would like to have all my Models only in App\Models... folder.

Thanks
kay899

@mitulgolakiya

This comment has been minimized.

Copy link
Member

commented Jun 25, 2016

@kay899 Actually the main purpose of adding a prefix was when we have multiple panels like backend and frontend and we want a separate layout for both then it will be helpful.

But currently, there is no way to just store model without prefix and store everything else with the prefix.

I will add it in future list.

@mitulgolakiya mitulgolakiya added this to the 0.2 milestone Jun 25, 2016

@kay899

This comment has been minimized.

Copy link
Author

commented Jun 29, 2016

@mitulgolakiya That would be perfect.
Thanks

wxs77577 added a commit to genyii/laravel-generator that referenced this issue Dec 28, 2016

mitulgolakiya added a commit that referenced this issue Mar 4, 2017

Merge pull request #362 from genyii/208
#208 Allow ignore  for models

mitulgolakiya added a commit that referenced this issue Mar 4, 2017

mitulgolakiya added a commit that referenced this issue Mar 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.