Oladipo
Oladipo

Reputation: 1679

Cannot find models, views and controllers folders in my app folder in Laravel structure

I just created a new Laravel framework project with:

laravel new <nameofproject>

After the creation, from what I have seen in tutorials online there is meant to be models, views and controllers folders in the app directory of the project but they are not there, how do I still move forward with this problem?

Upvotes: 2

Views: 1774

Answers (1)

jedrzej.kurylo
jedrzej.kurylo

Reputation: 40909

laravel new command creates a copy of what you can find on https://github.com/laravel/laravel. As you can see, there is no models folder in Laravel 5 setup. It was there in Laravel 4, so it seems you are using tutorials that are out of date.

Upvotes: 1

Related Questions