dev-master
9999999-dev http://ae35.deSimple transisiton Service Provider mapping the deprecated Silex autoloader to Composer
MIT
The Requires
- php >=5.3.3
composer silex autoloader provider
Simple transisiton Service Provider mapping the deprecated Silex autoloader to Composer
Simple transisitonal Service Provider mapping the deprecated Silex autoloader to Composer., (*1)
Silex replaced its own autoloader in favour of the one configured with composer. Unfortunately this will break many ServiceProviders, that are not under active development and makes it impossible to add namespaces dynamically. For example https://github.com/mjakubowski/nutwerk-orm-extension has to register namespaces dependent on the config., (*2)
This Service Provider can work as an interim solution until more of the Third Party Providers are updated and can provide dynamic extension of namespaces., (*3)
Add ae35/autoloader-service-provider as a requirement to your composer.json and register the Service Provider in Silex, (*4)
<?php $loader = require_once __DIR__ . '/../vendor/autoload.php'; $app->register(new ae35\Provider\ComposerAutoloaderServiceProvider($loader));
Simple transisiton Service Provider mapping the deprecated Silex autoloader to Composer
MIT
composer silex autoloader provider