How to install symfony in xampp?

Hi there, today I am going to explain about How to install symfony in xampp?

To create new symfony application, php version should be 7.1 or higher.
Let's see how to install symfony using composer.

Create your new project by running:
copy following xampp path and go to cmd prompt.
cd /Applications/XAMPP/htdocs

composer create-project symfony/website-skeleton my-first-projject

This will create a new my-first-project directory, download some dependencies into it and even generate the basic directories and files you'll need to get started. In other words, your new app is ready!

The website-skeleton is optimized for traditional web applications.

Running your Symfony Application

cd my-first-projject
php bin/console server:run
 

 
Open your browser and navigate to http://localhost:8000/
 
 
Hope you all learned about symfony installation. In next tutorial, I will explain about 
simple crud application using symfony and react js.
 
 
Happy Coding! 

Comments

  1. Useful one .. Please post brief explanation of dependencies, composer

    ReplyDelete

Post a Comment