ghislainf / zf2-whoops

PHP whoops error on ZF2 framework
https://github.com/filp/whoops
59 stars 10 forks source link

Change requirement "zendframework/zendframework": "2.*" #7

Closed widmogrod closed 8 years ago

widmogrod commented 11 years ago

Hi,

Using in composer.json requirement:

"zendframework/zendframework": "2.*"

Causes to install lot of unnecessary libs but only that your module need are defined in your Module.php

use Zend\EventManager\EventInterface;
use Zend\ModuleManager\Feature\BootstrapListenerInterface;
use Zend\Console\Request as ConsoleRequest;
use Zend\Stdlib\ResponseInterface as Response;
use Zend\Mvc\Application;
use Zend\Mvc\MvcEvent;

So I think, that this configuration will fit enough, and do not clutter someone else configuration.

"zendframework/zend-mvc": "2.*",
"zendframework/zend-modulemanager": "2.*",
"zendframework/zend-loader": "2.*",
"zendframework/zend-config": "2.*",
svycka commented 9 years ago

:+1: