Download the PHP package tourze/bundle-dependency without Composer
On this page you can find all versions of the php package tourze/bundle-dependency. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tourze/bundle-dependency
More information about tourze/bundle-dependency
Files in tourze/bundle-dependency
Download tourze/bundle-dependency
More information about tourze/bundle-dependency
Files in tourze/bundle-dependency
Vendor tourze
Package bundle-dependency
Short Description Bundle dependency resolver for Symfony
License MIT
Package bundle-dependency
Short Description Bundle dependency resolver for Symfony
License MIT
Please rate this library. Is it a good library?
Informations about the package bundle-dependency
Bundle Dependency
中文
A lightweight interface and resolver for managing Symfony bundle dependencies, enabling automatic resolution and circular dependency detection.
Features
- Simple interface - Define bundle dependencies with a single method
- Automatic resolution - Recursively resolves all bundle dependencies
- Circular detection - Prevents circular dependencies (with graceful handling)
- Environment support - Control bundle loading per environment (dev, test, prod)
- Lightweight - No external dependencies except PHP 8.1+
Installation
Quick Start
1. Implement the interface in your bundle
2. Resolve dependencies
Advanced Usage
Integration with Symfony Kernel
Handling circular dependencies
The resolver gracefully handles circular dependencies by skipping already-resolving bundles:
API Reference
BundleDependencyInterface
ResolveHelper
Configuration
This package requires no configuration. Simply implement the
BundleDependencyInterface in your bundles and use the ResolveHelper
to resolve dependencies.
Environment Configuration
Supported environment keys:
'all' => true- Load in all environments'dev' => true- Load only in development'test' => true- Load only in testing'prod' => true- Load only in production
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Testing
License
The MIT License (MIT). Please see License File for more information.
All versions of bundle-dependency with dependencies
PHP Build Version
Package Version
Requires
symfony/http-kernel Version
^7.3
The package tourze/bundle-dependency contains the following files
Loading the files please wait ...