What are the important directories used in a common Laravel application

0 votes
Explain about those direction which is modt commonly used in laravel
Mar 17 in Laravel by kartik
• 27,360 points
97 views

1 answer to this question.

0 votes

Hey @Kartik.

Directories used in a common Laravel application are:

  • App/: This is a source folder where our application code lives. All controllers, policies, and models are inside this folder.
  • Config/: Holds the app's configuration files. These are usually not modified directly but instead, rely on the values set up in the .env (environment) file at the root of the app.
  • Database/: Houses the database files, including migrations, seeds, and test factories.
  • Public/: Publicly accessible folder holding compiled assets and of course an index.php file.
There are many other dierectrory but above one is most commonly used
answered Mar 17 by Niroj
• 58,960 points

Related Questions In Laravel

0 votes
1 answer

What is the concept of controller in Laravel?

Hii, In the MVC framework, the letter ‘C’ ...READ MORE

answered Mar 18 in Laravel by Niroj
• 58,960 points
102 views
0 votes
1 answer

What is the use of Facade Pattern in Laravel?

Hey kartik, Facades provide a static interface to classes that are ...READ MORE

answered Mar 19 in Laravel by Niroj
• 58,960 points
155 views
0 votes
1 answer

Explain make Method in Laravel and what does the make() method do in Laravel?

Hey, You may use the make method to ...READ MORE

answered Mar 19 in Laravel by Niroj
• 58,960 points
188 views
0 votes
1 answer

Does Laravel support caching and what are the Cache Usage?

Hey, Yes, Laravel provides support for popular caching ...READ MORE

answered Mar 20 in Laravel by Niroj
• 58,960 points
127 views
0 votes
1 answer

How to download and install Lavavel framework?

Hey @kartik, First you must have xampp install ...READ MORE

answered Mar 17 in Laravel by Niroj
• 58,960 points
172 views
0 votes
1 answer

How can we get started with Laravel through Xampp?

Hii, First you need to start Apache and ...READ MORE

answered Mar 17 in Laravel by Niroj
• 58,960 points
74 views
0 votes
1 answer

Error: listen EADDRINUSE while using nodejs?

Hello @kartik, EADDRINUSE means that the port number which listen() tries ...READ MORE

answered Jul 9 in Node-js by Niroj
• 58,960 points
87 views
0 votes
1 answer

ReferenceError: primordials is not defined in node

Hello @kartik, Use following commands and install node v11.15.0: npm ...READ MORE

answered Jul 12 in Node-js by Niroj
• 58,960 points
983 views
0 votes
1 answer

What are the query builder in Laravel?

Hey, Laravel's database query builder provides a convenient, ...READ MORE

answered Mar 19 in Laravel by Niroj
• 58,960 points
91 views
0 votes
1 answer

What is the significant difference between insert() and insertGetId() function in Laravel?

Hello, Insert(): This function is simply used to ...READ MORE

answered Mar 17 in Laravel by Niroj
• 58,960 points
185 views