Why wouldn't it be in the app directory?
Its ok to be in app but don't u want to separate models into sub directory at least. Currently models are located in app root.
That's the general idea. You namespace your models. For example, you might have App\Auth\User as your user object. It works better for code organisation.
The organization is up to you. I like having Acme\Model but if you have many models then including sub directories that relate to their functionality is a good idea.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community