Setup
Symfony 7.2 with Webpack Encore which provides a clean, fluent API for defining basic build steps for your Symfony application. Webpack Encore supports several common CSS and JavaScript pre-processors.:
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
-
Server
Make sure to have the Xampp/Wamp installed & running in your computer. If you already have installed Xampp / Wamp server on your computer, you can skip this step.
-
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.
-
NodeJs
Make sure to have the Node.js installed & running in your computer. If you already have installed Node on your computer, you can skip this step if your existing node latest version 22
-
Git
Make sure to have the Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.
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 |
---|---|
npm install
|
This would install all the required dependencies in
the node_modules folder.
|
composer install
|
This would install all the required packages in
the vendor folder.
|
npm run build
|
To compile all SCSS and will copy all images, Js, Libs into the public directory. Run this command to get minify output for the production server. |
symfony server:start
|
Runs the project locally. The development server is accessible at http://localhost:8000. |