πŸ“‚Folder Structure

Symfony Light Able folder structure is meticulously organized to enhance project scalability and maintainability. With directories for routes, controllers, assets, views, and configuration settings.

β”œβ”€β”€ πŸ“ Admin
|    β”œβ”€β”€ πŸ“ assets
|    β”œβ”€β”€ πŸ“ bin
|    β”œβ”€β”€ πŸ“ config
|    |    β”œβ”€β”€ πŸ“ packages
|    |    β”œβ”€β”€ πŸ“ routes
|    |    β”œβ”€β”€ πŸ“„ bundles.php
|    |    β”œβ”€β”€ πŸ“„ preload.php
|    |    β”œβ”€β”€ πŸ“„ routes.yaml
|    |    └── πŸ“„ services.yaml
|    β”œβ”€β”€ πŸ“ migrations
|    β”œβ”€β”€ πŸ“ public
|    |    β”œβ”€β”€ πŸ“ assets
|    |    |    β”œβ”€β”€ πŸ“ css
|    |    |    β”œβ”€β”€ πŸ“ fonts
|    |    |    β”œβ”€β”€ πŸ“ images
|    |    |    β”œβ”€β”€ πŸ“ js
|    |    |    └── πŸ“ json
|    |    └── πŸ“„ index.php
|    β”œβ”€β”€ πŸ“ src
|    |    β”œβ”€β”€ πŸ“ Components
|    |    β”œβ”€β”€ πŸ“ Controller
|    |    β”œβ”€β”€ πŸ“ Entity
|    |    β”œβ”€β”€ πŸ“ Repository
|    |    └── πŸ“„ Kernel.php
|    β”œβ”€β”€ πŸ“ templates
|    |    β”œβ”€β”€ πŸ“ components
|    |    β”œβ”€β”€ πŸ“ layouts
|    |    └── πŸ“„ All html.twig files are here
|    β”œβ”€β”€ πŸ“ tests
|    β”œβ”€β”€ πŸ“ translations
|    β”œβ”€β”€ πŸ“„ .env
|    β”œβ”€β”€ πŸ“„ .env.test
|    β”œβ”€β”€ πŸ“„ .gitignore
|    β”œβ”€β”€ πŸ“„ composer.json
|    β”œβ”€β”€ πŸ“„ composer.lock
|    β”œβ”€β”€ πŸ“„ importmap.php
|    β”œβ”€β”€ πŸ“„ package.json
|    β”œβ”€β”€ πŸ“„ package-lock.json
|    β”œβ”€β”€ πŸ“„ phpunit.xml.dist
|    β”œβ”€β”€ πŸ“„ Set-ExecutionPolicy
|    β”œβ”€β”€ πŸ“„ symfony.lock
|    β”œβ”€β”€ πŸ“„ webpack.config.js
|    └── πŸ“„ yarn.lock
└── πŸ“ Starter

Light Able Symfony Folders Structure

File/FolderPathDescription

πŸ“‚Lightable-Symfony

root:

The main folder of our project.

πŸ“src

src/

A Directory for controllers.

πŸ“ config

config/

A Directory for config.

πŸ“public

public/

All assets files are here.

πŸ“ templates

templates/

All the html.twig files are here.

πŸ“ tests

tests/

All tests files will be here.

Light Able Symfony Files

FilePathDescription

composer.json

/composer.json

All the Symfony packages will be in this file

Last updated