Hi All,
I was wondering why Taylor has removed the model directory from Laravel 5 and moved the models directly to app directory?
Also is there any way i can move the models to a directory for my app, as i just like to tidy it up a bit.
You can put your models where you want, for example create app\Models, or something more distributed, depending on your application organisation. You just need to correctly namespace them.
Just take care for User model that is used for authentication. If you change its namespace you need to inform config/auth.php.
@JeffreyWay one of the concern is, if Taylor has removed directory, there might be some reason, i just wanted to be pretty sure that if he has removed it for a reason then i wouldn't like to add it back :)
The Laravel 4 folder default structure supports small apps from the start and with a little bit of customization, it can support bigger apps. The new folder structure in Laravel 5 supports medium apps and with a little bit of customization, it can support either smaller or bigger apps. It's different for every project.