reinfi / zfe-module-bridge-provider
An Zend Expressive module for loading ZF2 or ZF3 modules.
Installs: 11 663
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/reinfi/zfe-module-bridge-provider
Requires
- php: >=7.0
- zendframework/zend-loader: ^2.5
- zendframework/zend-modulemanager: ^2.7
Requires (Dev)
- phpunit/phpcov: ^3.0
- phpunit/phpunit: ^5.7
- satooshi/php-coveralls: ^1.0
This package is auto-updated.
Last update: 2025-10-10 08:52:53 UTC
README
Add ZF2 or ZF3 modules to your Zend Expressive application via this bridge.
Installation
- Install with Composer:
composer require reinfi/zfe-module-bridge-provider. - Use
ModuleBridgeProviderin yourconfig.php:
$aggregator = new ConfigAggregator([ new \Reinfi\ModuleBridgeProvider\ModuleBridgeProvider( [ YourModule::class, AnotherModule::class, ] ), ]); return $aggregator->getMergedConfig();
What it does.
It loads every given module with the loadModule and loadModule.resolve events from the module manager.
What it not does.
It does not trigger any init or onBootstrap methods from the module definition.
FAQ
Feel free to ask any questions or open own pull requests.