在 symfony2 中打包分发包的标准方法是什么?

发布于 2025-01-01 05:01:45 字数 136 浏览 1 评论 0原文

我有一些捆绑包,我可能会在不同的项目中重复使用,甚至与人们共享,并且希望以可分发的方式打包它们。

为此目的打包它们的最佳方法是什么?

我还考虑将其与示例应用程序一起分发,以便人们快速入门,是否有或多或少的标准方法来做到这一点?

I have some bundles I'm likely to reuse across different projects, or even share with people, and want to package them in a distributable way.

What's the best way to package them for this purpose?

I also was considering distributing it with a sample app, to get people started quickly, is there a more or less standard way to do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

锦爱 2025-01-08 05:01:45

查看捆绑包结构和最佳实践食谱条目。您还可以通过观看现有捆绑包来学习,您可以在 KnpBundles 网站上找到这些捆绑包。

基本上,人们在 github 上为每个包创建一个新项目。因此,包装它们没有什么特别的。

Check out the Bundle Structure and Best Practices cookbook entry. Also you can learn by watching the existing bundles, which you can find on the KnpBundles site.

Basically, people create a new project for each bundle on github. So, there is nothing special in packaging them.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文