This library allows Pimple containers to use universal service providers as defined in container-interop/service-provider
This package is auto-updated.
Last update: 2021-04-06 16:55:18 UTC
service-providers as defined in
container-interop into a Pimple 3 container.
Add the package in composer:
composer require thecodingmachine/pimple-universal-service-provider-bridge ^1.0
ServiceProviderPimpleBridge instance and register container-interop service providers on this instance.
use TheCodingMachine\Pimple\ServiceProviderPimpleBridge; // Create your pimple container $pimple = new Pimple\Container(); // Create the bridge $bridge = new ServiceProviderPimpleBridge($pimple); // Now, register any service provider you like (compatible with container-interop/service-provider) on the bridge $bridge->register(new GlideServiceProvider());