Login
Remember
Register
Ask a Question
Explain important directories used in a common Laravel application.
0
votes
asked
Oct 17, 2023
in
Laravel
by
Robindeniel
Explain important directories used in a common Laravel application.
laravelapplication
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 17, 2023
by
Robindeniel
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.
...