定制 symfony-bundles/bundle-dependency 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

symfony-bundles/bundle-dependency

最新稳定版本:v1.0.5

Composer 安装命令:

composer require symfony-bundles/bundle-dependency

包简介

Symfony BundleDependency Component

README 文档

README

SensioLabsInsight

Build Status Scrutinizer Code Quality Code Coverage Total Downloads Latest Stable Version License

Installation

Pretty simple with Composer, run:

composer require symfony-bundles/bundle-dependency

How to use

  • Add to your composer.json the bundle dependencies
  • Update your composer dependencies with command composer update
  • Modify your Bundle Class. For example:
use Symfony\Component\HttpKernel\Bundle\Bundle; use SymfonyBundles\BundleDependency\BundleDependency; use SymfonyBundles\BundleDependency\BundleDependencyInterface; class MyBundle extends Bundle implements BundleDependencyInterface { use BundleDependency; public function getBundleDependencies() { return [ 'FOS\RestBundle\FOSRestBundle', 'SymfonyBundles\ForkBundle\SymfonyBundlesForkBundle', 'SymfonyBundles\RedisBundle\SymfonyBundlesRedisBundle', ]; } }

If you want override a method build, call the method registerBundleDependencies. For example:

public function build(ContainerBuilder $container) { parent::build($container); // ... $this->registerBundleDependencies($container); }

统计信息

  • 总下载量: 132.2k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 22
  • 点击次数: 1
  • 依赖项目数: 7
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固