Home > Development Tools > composer > How to install symfony in composer

How to install symfony in composer

藏色散人
Release: 2020-01-06 14:27:57
forward
3120 people have browsed it

The following tutorial column of composer will introduce to you how to install symfony with composer. I hope it will be helpful to friends who need it!

How to install symfony in composer

1. Install

composer create-project symfony/framework-standard-edition my_project_name
Copy after login

or install a specific version:

composer create-project symfony/framework-standard-edition my_project_name "2.3.*"
Copy after login

2. Run

cd my_project_name/
php app/console server:run
Copy after login

Access: localhost:8000

It is successful when you see the welcome interface

The author installed version 3.2.7 at this time:

How to install symfony in composer

3. Check the configuration

Method one:

php bin/symfony_requirements
Copy after login

Method two:

Access in the browser :localhost:8000/config.php

View the configuration and install the corresponding configuration.

For more composer-related technical articles, please visit the composer column: //m.sbmmt.com/tool/composer/

The above is the detailed content of How to install symfony in composer. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template