zendframework / zend-expressive

PSR-15 middleware in minutes!
BSD 3-Clause "New" or "Revised" License
711 stars 197 forks source link

zend-servicemanager 3 before v1 of Zend-Expressive #171

Closed bakura10 closed 8 years ago

bakura10 commented 9 years ago

That's all.

danizord commented 9 years ago

:+1:

weierophinney commented 9 years ago

Already working on integration with the installer, but have a few issues to iron out. It'll happen. :-) On Oct 21, 2015 1:08 AM, "Michaël Gallego" notifications@github.com wrote:

That's all.

— Reply to this email directly or view it on GitHub https://github.com/zendframework/zend-expressive/issues/171.

geerteltink commented 8 years ago

@weierophinney What issue you have with the installer? I've got it working here. It should be something like this:

Edit this src/Composer/Resources/config/container-zend-servicemanager.php

<?php

use Zend\ServiceManager\ServiceManager;

// Load configuration
$config = require 'config.php';
$dependencies = $config['dependencies'];

// Inject config as a service
$dependencies['services']['config'] = $config;

// Build container
$container = new ServiceManager($dependencies);

return $container;

Change in src/Composer/config.php

'zendframework/zend-servicemanager'              => 'dev-master',
geerteltink commented 8 years ago

@weierophinney oh never mind... You have issues, but probably not with the installer. I read that wrong.

weierophinney commented 8 years ago

@xtreamwayz correct; issues are getting dependencies working together. :)

weierophinney commented 8 years ago

This isn't going to happen, and, with the changes I've proposed in zendframework/zend-servicemanager#59 and zendframework/zend-servicemanager#60, no changes will be necessary to jump to v3 anyways. :smile: