Namal
Namal

Reputation: 2071

How file structure comes in Laravel when developing a project

I have been suffering from this problem for several months now. There are lot of tutorials explain about how to implement your code using OOP methods. With parent classes, abstract classes, Interfaces etc.

My problem is where should I create such file structure in frameworks as Codeigniter, Laravel etc. I know only controller folder to define classes. Should I place all the interfaces and parent classes in controller folder? Please explain it's really mess for me.

Upvotes: 0

Views: 1699

Answers (2)

Slickrick12
Slickrick12

Reputation: 937

This tutorial helped me understand where to put my own libraries. Give it a shot!

Upvotes: 3

Rob W
Rob W

Reputation: 9142

In Laravel 4, the file structure already exists in your /app folder.

See: http://laravelbook.com/laravel-architecture/

Upvotes: 1

Related Questions