Setup Symfony
Introduction
Webadmin – Symfony is a simple and beautiful admin template built with Symfony 7.0 and Bootstrap 5.3.3. It has 7+ different layouts and 3 modes ( Dark, Light & RTL ). You can simply change to any layouts or modes by changing a couple of lines code. You can start small and large projects or update design in your existing project using Webadmin Symfony. It is very quick and easy as it is beautiful, adroit, and delivers the ultimate user experience.
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 the admin theme, follow below-mentioned steps:
-
Install Prerequisites
Make sure to have all above prerequisites installed & running on your computer
After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory ( Webadmin_v*/symfony/ ) of the project to run the project locally or build for production use:
Command | Description |
---|---|
composer install
|
command to install all of the framework's dependencies. |
yarn install
|
This would install all the required dependencies in
the node_modules folder.
|
webadmin-symfony.sql
|
Create a new database with name webadmin-symfony , Then import the webadmin-symfony.sql file in your database.
|
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. |