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
• 4,560 points
20 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
• 8,620 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
• 8,620 points
13 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
• 8,620 points
19 views
0 votes
1 answer

What is the use of the Eloquent cursor() method in Laravel?

Hello, The cursor method allows us to iterate ...READ MORE

answered Mar 20 in Laravel by Niroj
• 8,620 points
34 views
0 votes
1 answer

What are named routes in Laravel?

Hey @kartik, Named routing is another amazing feature of ...READ MORE

answered Mar 23 in Laravel by Niroj
• 8,620 points
21 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
• 8,620 points
30 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
• 8,620 points
21 views
+1 vote
1 answer

What is the relationship between angularjs Scope with controller/view?

Let us consider the below block: <div ng-controller="emp"> ...READ MORE

answered Jan 20 in Web Development by Niroj
• 8,620 points

edited Jan 21 by Niroj 50 views
+1 vote
1 answer

What is css box module?

Hey, All the element present in html follows ...READ MORE

answered Jan 20 in Web Development by Niroj
• 8,620 points

edited Jan 21 by Niroj 41 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
• 8,620 points
21 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
• 8,620 points
21 views