Skip to content

Expressive provider to add ZF2 or ZF3 modules to your expressive application

License

Notifications You must be signed in to change notification settings

reinfi/zfe-module-bridge-provider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

Add ZF2 or ZF3 modules to your Zend Expressive application via this bridge.

Installation

  1. Install with Composer: composer require reinfi/zfe-module-bridge-provider.
  2. Use ModuleBridgeProvider in your config.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.

About

Expressive provider to add ZF2 or ZF3 modules to your expressive application

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages