开发者

without vendors but with vendor-dependant code ...?

开发者 https://www.devze.com 2023-03-29 10:42 出处:网络
Why is the vendorless version shipped (of course) without vendors, but in autoload.php and AppKernel.php vendor-bundles are loaded?

Why is the vendorless version shipped (of course) without vendors, but in autoload.php and AppKernel.php vendor-bundles are loaded?

Even more confusing ... why shipping an example controller - with a Twig-template w开发者_StackOverflowhen there is no Twig-bundle - with a YAML-routing without the YAML-component - ...

wouldn't it make more sense to have the vendor-less version being shipped really without any vendor-specific code?

Then you could start adding instead of starting with removing!

Or am I missing something?


The Symfony Standard 2.0.0 distribution available for download from the Symfony download page is not meant to be a non-vendor-dependent version of Symfony. It's simply shipped without vendors so that they can be installed (and kept up to date) with the bin/vendors script (which requires Git to function). The "with vendors" download is provided if you don't not have Git, or if you want to get started immediately with very litle setup whatsoever.

If you truly want Symfony with no 3rd-party dependent code, try the core framework repository, available at https://github.com/symfony/symfony.

0

精彩评论

暂无评论...
验证码 换一张
取 消