gpt4 book ai didi

php - 在哪里可以找到 Symfony2 clean skeleton?

转载 作者:可可西里 更新时间:2023-11-01 12:29:55 25 4
gpt4 key购买 nike

我需要一个干净的框架,没有默认的演示和配置,以了解所有配置过程,从零开始,以及为 Symfony 2 打包创建。

谢谢!

最佳答案

下载 Standard Edition对于 Acme 演示,在该分发版中有一个名为 README.md 的文件,在底部有一个部分描述了如何删除 Acme 内容:

Using this Edition as the Base of your Application

Since the standard edition is fully-configured and comes with some examples, you'll need to make a few changes before using it to build your application.

The distribution is configured with the following defaults:

  • Twig is the only configured template engine;
  • Doctrine ORM/DBAL is configured;
  • Swiftmailer is configured;
  • Annotations for everything are enabled.

A default bundle, AcmeDemoBundle, shows you Symfony2 in action. After playing with it, you can remove it by following these steps:

  • delete the src/Acme directory;
  • remove the routing entries referencing AcmeBundle in app/config/routing_dev.yml;
  • remove the AcmeBundle from the registered bundles in app/AppKernel.php;

您也可以删除 web/bundles/acmedemo,因为这只是使用 php app/console assets:install web 安装的 Assets 。

关于php - 在哪里可以找到 Symfony2 clean skeleton?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8283288/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com