Reviewing the project structure
Good news! You have already worked inside the most important directories of your project:
config/ Contains… configuration!. You will configure routes, services and packages. src/ All your PHP code lives here. templates/ All your Twig templates are located here.
Most of the time, you’ll be working in src/, templates/, or config/. As you read on, you’ll learn what can be done within each of these.
So what about the other directories in the project?
bin/ The famous bin/ file console lives here (and other less important executable files). var/ This is where automatically created files such as cache files (var/cache/) and logs (var/log/) are stored. Vendor/third-party libraries (ie “vendors”) live here! These are downloaded via the Composer package manager. public/ This is the document root for your project: place any publicly accessible file here.
And when you install new packages, new directories will be automatically created when needed.
.