diff --git a/composer.json b/composer.json index c112a8e..546c0fa 100644 --- a/composer.json +++ b/composer.json @@ -1,33 +1,33 @@ { - "name": "kokspflanze/small-user", - "description": "ZendFramework 2 Module for User", - "type": "library", - "keywords": [ - "framework", - "zf2", - "user", - "auth", - "acl" - ], - "homepage": "https://github.com/kokspflanze/SmallUser", - "autoload": { - "psr-0": { - "SmallUser\\": "src/", - "SmallUserTest\\": "tests/" - } - }, - "authors": [ - { - "name": "Oliver", - "email": "kokspflanze@gmx.de" - } - ], - "require": { - "php": ">=5.4", - "bjyoungblood/bjy-authorize": "1.*", - "doctrine/doctrine-orm-module": "0.*", - "zf-commons/zfc-user": "0.*" - }, + "name": "kokspflanze/small-user", + "description": "ZendFramework 2 Module for User", + "type": "library", + "keywords": [ + "framework", + "zf2", + "user", + "auth", + "acl" + ], + "homepage": "https://github.com/kokspflanze/SmallUser", + "autoload": { + "psr-0": { + "SmallUser\\": "src/", + "SmallUserTest\\": "tests/" + } + }, + "authors": [ + { + "name": "Oliver", + "email": "kokspflanze@gmx.de" + } + ], + "require": { + "php": ">=5.4", + "bjyoungblood/bjy-authorize": "1.*", + "doctrine/doctrine-orm-module": "0.*", + "zf-commons/zfc-base": "0.*" + }, "require-dev": { "phpunit/phpunit": "~4.0", "zendframework/zendframework": "~2.4", diff --git a/config/module.config.php b/config/module.config.php index db61fec..0b8c5a9 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -22,11 +22,15 @@ 'service_manager' => array( 'invokables' => array( 'small_user_service' => 'SmallUser\Service\User', + 'zfcuser_user_service' => 'SmallUser\Service\User', ), 'abstract_factories' => array( 'Zend\Cache\Service\StorageCacheAbstractServiceFactory', 'Zend\Log\LoggerAbstractServiceFactory', ), + 'aliases' => array( + 'zfcuser_zend_db_adapter' => 'Zend\Db\Adapter\Adapter', + ), ), 'controllers' => array( 'invokables' => array(