text symfony4结构

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text symfony4结构相关的知识,希望对你有一定的参考价值。

config/
Contains... configuration of course!. You will configure routes, services and packages.

src/
All your PHP code lives here.

templates/
All your Twig templates live here.

bin/
The famous bin/console file lives here (and other, less important executable files).

var/
This is where automatically-created files are stored, like cache files (var/cache/) and logs (var/log/).

vendor/
Third-party (i.e. "vendor") libraries live here! These are downloaded via the Composer package manager.

public/
This is the document root for your project: you put any publicly accessible files here.

以上是关于text symfony4结构的主要内容,如果未能解决你的问题,请参考以下文章

如何在 Symfony4 结构的参数文件中检索我的环境变量?

Symfony4加载类自定义文件夹时出错“预计找到类...但是找不到它”

Symfony 4 - 来自自定义捆绑包的服务不起作用

Symfony4 - 'app/config/config.yml' 不见了?

Symfony4“@ParamConverter 注释找不到对象”404 错误

Symfony4 使用 crud 生成 API 休息