The "Symfony Demo Application" is a reference application created to show how to develop applications following the Symfony Best Practices.
Download Symfony to install the symfony
binary on your computer and run
this command:
$ symfony new --demo my_project
Alternatively, you can use Composer:
$ composer create-project symfony/symfony-demo my_project
There's no need to configure anything to run the application. If you have installed Symfony, run this command and access the application in your browser at the given URL (https://localhost:8000 by default):
$ cd my_project/
$ symfony serve
If you don't have the Symfony binary installed, run php -S localhost:8000 -t public/
to use the built-in PHP web server or configure a web server like Nginx or
Apache to run the application.
Execute this command to run tests:
$ cd my_project/
$ ./bin/phpunit
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。