0 votes
in Laravel by
Explain important directories used in a common Laravel application.

1 Answer

0 votes
by

Directories used in a common Laravel application are:

  1. App/: This is a source folder where our application code lives. All controllers, policies, and models are inside this folder.
  2. 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.
  3. Database/: Houses the database files, including migrations, seeds, and test factories.
  4. Public/: Publicly accessible folder holding compiled assets and of course an index.php file.
...