Blog


Knowing the Laravel directory structure, commented

Sometimes read of documentation is boring and you don’t need to know everything when you’re starting learn something new. Because it, I made a summary about the most important things about Laravel Directory structure.

Folders and main files

I think that before we getting started development is very important knowing the directory structure of your applications, it can show us where put some file or how something works for example. See the default directory structure of Laravel (except the dep folder).

Important! The dep directory isn’t of Laravel fresh installation, i’ve created it to store some files.




Introducing Laravel

Laravel

Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern. Some of the features of Laravel are a modular packaging system with a dedicated dependency manager, different ways for accessing relational databases, utilities that aid in application deployment and maintenance, and its orientation toward syntactic sugar.

Before start

I presume that you have PHP installed and at least basic knowledge of PHP, HTML, Database to get started.

Some benefits of Laravel

Have many reasons why I migrated to Laravel, amongst them are some benefits as:

  • Complete  development environment (Homestead) – I don’t have to worry about configs, integrations server details or other things;
  • Integration with mail services;
  • Integration with cloud servers like Amazon S3 and others;
  • Solid authorization services out of the box;
  • Integration tools for making web applications faster;
  • Automation testing work – It’s easy to start and configure TDD;
  • Easy helpers and facades;
  • Excellent documentation;