Home  >  Article  >  php教程  >  Symfony installer

Symfony installer

WBOY
WBOYOriginal
2016-07-06 13:28:32988browse
跳至 [1] [全屏预览]
1、下载symfony.phar

#php -r "readfile('http://symfony.com/installer');" > symfony.phar

查看选项

#php symfony.phar

2、用 symfony.phar 来创建一个项目。这里我们打算做一个新闻聚合类网站,项目就叫 news 

#php symfony.phar new news  (最新symfony3.xx)

To base your project on a specific Symfony version, append the version
number at the end of the command:

#php symfony.phar new news 2.8  (使用2.8版本创建)
Statement:
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