Symfony Development

  1. Project Structure and Configuration
    1. Directory Structure
      1. Application Root
        1. Source Code Organization
          1. The `src` Directory
            1. Namespace Conventions
              1. PSR-4 Autoloading
              2. Configuration Files
                1. The `config` Directory
                  1. Environment-Specific Configuration
                    1. Service Configuration
                    2. Public Assets
                      1. The `public` Directory
                        1. Entry Point File
                          1. Static Assets Management
                          2. Templates and Views
                            1. The `templates` Directory
                              1. Template Organization
                              2. Runtime Files
                                1. The `var` Directory
                                  1. Cache Management
                                    1. Log Files
                                    2. Dependencies
                                      1. The `vendor` Directory
                                        1. Composer Lock File
                                        2. Executable Scripts
                                          1. The `bin` Directory
                                            1. Console Application
                                          2. Environment Management
                                            1. Environment Types
                                              1. Development Environment
                                                1. Production Environment
                                                  1. Test Environment
                                                  2. Environment Variables
                                                    1. `.env` File Structure
                                                      1. Environment Variable Precedence
                                                        1. Accessing Variables in Code
                                                        2. Configuration Loading
                                                          1. Configuration Merging
                                                            1. Environment-Specific Overrides