Setup Symfony 7
Introduction
Symfony 7 provides a clean, fluent API for defining basic build steps for your Symfony application.
Prerequisites
Please follow below steps to install and setup all prerequisites:
-
Technical Requirements
Please check the Technical Requirements from the this link https://symfony.com/doc/current/setup.html#technical-requirements
-
Serve
Make sure to have the Xampp OR Wamp installed & running in your computer. If you already have installed Xampp / Wamp server on your computer, you can skip this step. Note: PHP must be 8.2 or higher version.
-
Composer
Make sure to have the Composer installed & running in your computer. If you already have installed composer on your computer, you can skip this step.
-
Install Symfony CLI
Please setup Symfony CLI regarding your operating system. https://symfony.com/download
Installation
To setup admin theme, follow below mentioned steps:
-
Install Prerequisites
Make sure to have all above prerequisites installed & running in your computer
After you finished with above steps, you can run the following commands to run project locally or build for production use:
Command | Description |
---|---|
composer install
|
command to install all of the framework's dependencies. |
symfony server:start
|
Runs the project locally. The development server is accessible at http://localhost:8000. |
symfony server:start --port=8001
|
If You Wish to Runs the project locally on Different Port. The development server is accessible at http://localhost:8001. |
Email Settings
1.You can configure the email credentials in the config.php
file.
NOTE: Manage your google account security with create app password using below link and set it into config file.