{"id":18924793,"url":"https://github.com/php-bundles/bundle-dependency","last_synced_at":"2025-04-15T12:32:50.619Z","repository":{"id":57063660,"uuid":"59513966","full_name":"php-bundles/bundle-dependency","owner":"php-bundles","description":"Symfony Bundle Dependency Component","archived":false,"fork":false,"pushed_at":"2018-02-21T17:58:35.000Z","size":25,"stargazers_count":19,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T21:22:23.262Z","etag":null,"topics":["dependency-manager","php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-bundles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-23T19:53:51.000Z","updated_at":"2023-04-02T03:36:32.000Z","dependencies_parsed_at":"2022-08-24T14:01:05.636Z","dependency_job_id":null,"html_url":"https://github.com/php-bundles/bundle-dependency","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-bundles%2Fbundle-dependency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-bundles%2Fbundle-dependency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-bundles%2Fbundle-dependency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-bundles%2Fbundle-dependency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-bundles","download_url":"https://codeload.github.com/php-bundles/bundle-dependency/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248736563,"owners_count":21153614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dependency-manager","php","symfony","symfony-bundle"],"created_at":"2024-11-08T11:08:11.724Z","updated_at":"2025-04-15T12:32:50.363Z","avatar_url":"https://github.com/php-bundles.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Symfony BundleDependency Component\n==================================\n\n[![SensioLabsInsight][sensiolabs-insight-image]][sensiolabs-insight-link]\n\n[![Build Status][testing-image]][testing-link]\n[![Scrutinizer Code Quality][scrutinizer-code-quality-image]][scrutinizer-code-quality-link]\n[![Code Coverage][code-coverage-image]][code-coverage-link]\n[![Total Downloads][downloads-image]][package-link]\n[![Latest Stable Version][stable-image]][package-link]\n[![License][license-image]][license-link]\n\nInstallation\n------------\nPretty simple with Composer, run:\n\n``` bash\ncomposer require symfony-bundles/bundle-dependency\n```\n\nHow to use\n----------\n* Add to your composer.json the bundle dependencies\n* Update your composer dependencies with command `composer update`\n* Modify your Bundle Class. For example:\n\n``` php\nuse Symfony\\Component\\HttpKernel\\Bundle\\Bundle;\nuse SymfonyBundles\\BundleDependency\\BundleDependency;\nuse SymfonyBundles\\BundleDependency\\BundleDependencyInterface;\n\nclass MyBundle extends Bundle implements BundleDependencyInterface\n{\n    use BundleDependency;\n\n    public function getBundleDependencies()\n    {\n        return [\n            'FOS\\RestBundle\\FOSRestBundle',\n            'SymfonyBundles\\ForkBundle\\SymfonyBundlesForkBundle',\n            'SymfonyBundles\\RedisBundle\\SymfonyBundlesRedisBundle',\n        ];\n    }\n}\n```\n\nIf you want override a method `build`, call the method `registerBundleDependencies`. For example:\n\n``` php\npublic function build(ContainerBuilder $container)\n{\n    parent::build($container);\n    // ...\n\n    $this-\u003eregisterBundleDependencies($container);\n}\n```\n\n[package-link]: https://packagist.org/packages/symfony-bundles/bundle-dependency\n[license-link]: https://github.com/symfony-bundles/bundle-dependency/blob/master/LICENSE\n[license-image]: https://poser.pugx.org/symfony-bundles/bundle-dependency/license\n[testing-link]: https://travis-ci.org/symfony-bundles/bundle-dependency\n[testing-image]: https://travis-ci.org/symfony-bundles/bundle-dependency.svg?branch=master\n[stable-image]: https://poser.pugx.org/symfony-bundles/bundle-dependency/v/stable\n[downloads-image]: https://poser.pugx.org/symfony-bundles/bundle-dependency/downloads\n[sensiolabs-insight-link]: https://insight.sensiolabs.com/projects/f3d1e9cc-8a94-4d0c-97c4-a488490e4f72\n[sensiolabs-insight-image]: https://insight.sensiolabs.com/projects/f3d1e9cc-8a94-4d0c-97c4-a488490e4f72/big.png\n[code-coverage-link]: https://scrutinizer-ci.com/g/symfony-bundles/bundle-dependency/?branch=master\n[code-coverage-image]: https://scrutinizer-ci.com/g/symfony-bundles/bundle-dependency/badges/coverage.png?b=master\n[scrutinizer-code-quality-link]: https://scrutinizer-ci.com/g/symfony-bundles/bundle-dependency/?branch=master\n[scrutinizer-code-quality-image]: https://scrutinizer-ci.com/g/symfony-bundles/bundle-dependency/badges/quality-score.png?b=master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-bundles%2Fbundle-dependency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-bundles%2Fbundle-dependency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-bundles%2Fbundle-dependency/lists"}