Congratulations! You have successfully installed the ZF2 Skeleton Application. You are currently running Zend Framework version 2.2.4. This skeleton can serve as a simple starting point for you to begin building your application on ZF2.
Zend Framework 2 is under active development. If you are interested in following the development of ZF2, there is a special ZF2 portal on the official Zend Framework website which provides links to the ZF2 wiki, dev blog, issue tracker, and much more. This is a great resource for staying up to date with the latest developments!
The community is working on developing a community site to serve as a repository and gallery for ZF2 modules. The project is available on GitHub. The site is currently live and currently contains a list of some of the modules already available for ZF2.
If you need any help or support while developing with ZF2, you may reach us via IRC: #zftalk on Freenode. We'd love to hear any questions or feedback you may have regarding the beta releases. Alternatively, you may subscribe and post questions to the mailing lists.
Config
)
array(12) { ["view_manager"] => array(8) { ["template_path_stack"] => array(4) { ["zfcuser"] => string(64) "/var/www/zblog.kece.ru/vendor/zf-commons/zfc-user/config/../view" [0] => string(56) "/var/www/zblog.kece.ru/module/Application/config/../view" ["zenddevelopertools"] => string(79) "/var/www/zblog.kece.ru/vendor/zendframework/zend-developer-tools/config/../view" [1] => string(51) "/var/www/zblog.kece.ru/module/MyBlog/config/../view" } ["template_map"] => array(8) { ["error/403"] => string(87) "/var/www/zblog.kece.ru/vendor/bjyoungblood/bjy-authorize/config/../view/error/403.phtml" ["zend-developer-tools/toolbar/bjy-authorize-role"] => string(125) "/var/www/zblog.kece.ru/vendor/bjyoungblood/bjy-authorize/config/../view/zend-developer-tools/toolbar/bjy-authorize-role.phtml" ["layout/layout"] => string(76) "/var/www/zblog.kece.ru/module/Application/config/../view/layout/layout.phtml" ["application/index/index"] => string(86) "/var/www/zblog.kece.ru/module/Application/config/../view/application/index/index.phtml" ["error/404"] => string(72) "/var/www/zblog.kece.ru/module/Application/config/../view/error/404.phtml" ["error/index"] => string(74) "/var/www/zblog.kece.ru/module/Application/config/../view/error/index.phtml" ["zend-developer-tools/toolbar/doctrine-orm-queries"] => string(129) "/var/www/zblog.kece.ru/vendor/doctrine/doctrine-orm-module/config/../view/zend-developer-tools/toolbar/doctrine-orm-queries.phtml" ["zend-developer-tools/toolbar/doctrine-orm-mappings"] => string(130) "/var/www/zblog.kece.ru/vendor/doctrine/doctrine-orm-module/config/../view/zend-developer-tools/toolbar/doctrine-orm-mappings.phtml" } ["display_not_found_reason"] => bool(true) ["display_exceptions"] => bool(true) ["doctype"] => string(5) "HTML5" ["not_found_template"] => string(9) "error/404" ["exception_template"] => string(11) "error/index" ["strategies"] => array(2) { [0] => string(19) "ZfcTwigViewStrategy" [1] => string(19) "ZfcTwigViewStrategy" } } ["controllers"] => array(1) { ["invokables"] => array(3) { ["zfcuser"] => string(33) "ZfcUser\Controller\UserController" ["Application\Controller\Index"] => string(38) "Application\Controller\IndexController" ["MyBlog\Controller\BlogPost"] => string(32) "MyBlog\Controller\BlogController" } } ["service_manager"] => array(5) { ["aliases"] => array(3) { ["zfcuser_zend_db_adapter"] => string(23) "Zend\Db\Adapter\Adapter" ["bjyauthorize_zend_db_adapter"] => string(23) "Zend\Db\Adapter\Adapter" ["translator"] => string(13) "MvcTranslator" } ["factories"] => array(19) { ["BjyAuthorize\Cache"] => string(33) "BjyAuthorize\Service\CacheFactory" ["BjyAuthorize\Config"] => string(41) "BjyAuthorize\Service\ConfigServiceFactory" ["BjyAuthorize\Guards"] => string(41) "BjyAuthorize\Service\GuardsServiceFactory" ["BjyAuthorize\RoleProviders"] => string(48) "BjyAuthorize\Service\RoleProvidersServiceFactory" ["BjyAuthorize\ResourceProviders"] => string(52) "BjyAuthorize\Service\ResourceProvidersServiceFactory" ["BjyAuthorize\RuleProviders"] => string(48) "BjyAuthorize\Service\RuleProvidersServiceFactory" ["BjyAuthorize\Guard\Controller"] => string(50) "BjyAuthorize\Service\ControllerGuardServiceFactory" ["BjyAuthorize\Guard\Route"] => string(45) "BjyAuthorize\Service\RouteGuardServiceFactory" ["BjyAuthorize\Provider\Role\Config"] => string(53) "BjyAuthorize\Service\ConfigRoleProviderServiceFactory" ["BjyAuthorize\Provider\Role\ZendDb"] => string(53) "BjyAuthorize\Service\ZendDbRoleProviderServiceFactory" ["BjyAuthorize\Provider\Rule\Config"] => string(53) "BjyAuthorize\Service\ConfigRuleProviderServiceFactory" ["BjyAuthorize\Provider\Resource\Config"] => string(57) "BjyAuthorize\Service\ConfigResourceProviderServiceFactory" ["BjyAuthorize\Service\Authorize"] => string(37) "BjyAuthorize\Service\AuthorizeFactory" ["BjyAuthorize\Provider\Identity\ProviderInterface"] => string(51) "BjyAuthorize\Service\IdentityProviderServiceFactory" ["BjyAuthorize\Provider\Identity\AuthenticationIdentityProvider"] => string(65) "BjyAuthorize\Service\AuthenticationIdentityProviderServiceFactory" ["BjyAuthorize\Provider\Role\ObjectRepositoryProvider"] => string(56) "BjyAuthorize\Service\ObjectRepositoryRoleProviderFactory" ["BjyAuthorize\Collector\RoleCollector"] => string(48) "BjyAuthorize\Service\RoleCollectorServiceFactory" ["BjyAuthorize\Provider\Identity\ZfcUserZendDb"] => string(64) "BjyAuthorize\Service\ZfcUserZendDbIdentityProviderServiceFactory" ["BjyAuthorize\View\UnauthorizedStrategy"] => string(55) "BjyAuthorize\Service\UnauthorizedStrategyServiceFactory" } ["invokables"] => array(1) { ["BjyAuthorize\View\RedirectionStrategy"] => string(37) "BjyAuthorize\View\RedirectionStrategy" } ["initializers"] => array(1) { ["BjyAuthorize\Service\AuthorizeAwareServiceInitializer"] => string(53) "BjyAuthorize\Service\AuthorizeAwareServiceInitializer" } ["abstract_factories"] => array(2) { [0] => string(53) "Zend\Cache\Service\StorageCacheAbstractServiceFactory" [1] => string(37) "Zend\Log\LoggerAbstractServiceFactory" } } ["router"] => array(1) { ["routes"] => array(6) { ["zfcuser"] => array(5) { ["type"] => string(7) "Literal" ["priority"] => int(1000) ["options"] => array(2) { ["route"] => string(5) "/user" ["defaults"] => array(2) { ["controller"] => string(7) "zfcuser" ["action"] => string(5) "index" } } ["may_terminate"] => bool(true) ["child_routes"] => array(6) { ["login"] => array(2) { ["type"] => string(7) "Literal" ["options"] => array(2) { ["route"] => string(6) "/login" ["defaults"] => array(2) { ["controller"] => string(7) "zfcuser" ["action"] => string(5) "login" } } } ["authenticate"] => array(2) { ["type"] => string(7) "Literal" ["options"] => array(2) { ["route"] => string(13) "/authenticate" ["defaults"] => array(2) { ["controller"] => string(7) "zfcuser" ["action"] => string(12) "authenticate" } } } ["logout"] => array(2) { ["type"] => string(7) "Literal" ["options"] => array(2) { ["route"] => string(7) "/logout" ["defaults"] => array(2) { ["controller"] => string(7) "zfcuser" ["action"] => string(6) "logout" } } } ["register"] => array(2) { ["type"] => string(7) "Literal" ["options"] => array(2) { ["route"] => string(9) "/register" ["defaults"] => array(2) { ["controller"] => string(7) "zfcuser" ["action"] => string(8) "register" } } } ["changepassword"] => array(2) { ["type"] => string(7) "Literal" ["options"] => array(2) { ["route"] => string(16) "/change-password" ["defaults"] => array(2) { ["controller"] => string(7) "zfcuser" ["action"] => string(14) "changepassword" } } } ["changeemail"] => array(2) { ["type"] => string(7) "Literal" ["options"] => array(2) { ["route"] => string(13) "/change-email" ["defaults"] => array(2) { ["controller"] => string(7) "zfcuser" ["action"] => string(11) "changeemail" } } } } } ["home"] => array(2) { ["type"] => string(28) "Zend\Mvc\Router\Http\Literal" ["options"] => array(2) { ["route"] => string(1) "/" ["defaults"] => array(2) { ["controller"] => string(28) "Application\Controller\Index" ["action"] => string(5) "index" } } } ["application"] => array(4) { ["type"] => string(7) "Literal" ["options"] => array(2) { ["route"] => string(12) "/application" ["defaults"] => array(3) { ["__NAMESPACE__"] => string(22) "Application\Controller" ["controller"] => string(5) "Index" ["action"] => string(5) "index" } } ["may_terminate"] => bool(true) ["child_routes"] => array(1) { ["default"] => array(2) { ["type"] => string(7) "Segment" ["options"] => array(3) { ["route"] => string(24) "/[:controller[/:action]]" ["constraints"] => array(2) { ["controller"] => string(22) "[a-zA-Z][a-zA-Z0-9_-]*" ["action"] => string(22) "[a-zA-Z][a-zA-Z0-9_-]*" } ["defaults"] => array(0) { } } } } } ["doctrine_orm_module_yuml"] => array(2) { ["type"] => string(28) "Zend\Mvc\Router\Http\Literal" ["options"] => array(2) { ["route"] => string(26) "/ocra_service_manager_yuml" ["defaults"] => array(2) { ["controller"] => string(37) "DoctrineORMModule\Yuml\YumlController" ["action"] => string(5) "index" } } } ["blog"] => array(3) { ["type"] => string(7) "segment" ["verb"] => string(3) "GET" ["options"] => array(3) { ["route"] => string(23) "/blog[/][:action][/:id]" ["constraints"] => array(2) { ["action"] => string(22) "[a-zA-Z][a-zA-Z0-9_-]*" ["id"] => string(6) "[0-9]+" } ["defaults"] => array(2) { ["controller"] => string(26) "MyBlog\Controller\BlogPost" ["action"] => string(5) "index" } } } ["blog_post"] => array(3) { ["type"] => string(7) "segment" ["verb"] => string(4) "POST" ["options"] => array(3) { ["route"] => string(19) "/blog/:action[/:id]" ["constraints"] => array(2) { ["action"] => string(27) "[a-zA-Z][a-zA-Z0-9_-]*_post" ["id"] => string(6) "[0-9]+" } ["defaults"] => array(2) { ["controller"] => string(26) "MyBlog\Controller\BlogPost" ["action"] => string(5) "index" } } } } } ["doctrine"] => array(9) { ["driver"] => array(3) { ["zfcuser_entity"] => array(2) { ["class"] => string(44) "Doctrine\ORM\Mapping\Driver\AnnotationDriver" ["paths"] => array(1) { [0] => string(64) "/var/www/zblog.kece.ru/module/MyUser/config/../src/MyUser/Entity" } } ["orm_default"] => array(2) { ["drivers"] => array(3) { ["ZfcUser\Entity"] => string(14) "zfcuser_entity" ["MyBlog\Entity"] => string(13) "myblog_entity" ["MyUser\Entity"] => string(14) "zfcuser_entity" } ["class"] => string(39) "Doctrine\ORM\Mapping\Driver\DriverChain" } ["myblog_entity"] => array(2) { ["class"] => string(44) "Doctrine\ORM\Mapping\Driver\AnnotationDriver" ["paths"] => array(1) { [0] => string(64) "/var/www/zblog.kece.ru/module/MyBlog/config/../src/MyBlog/Entity" } } } ["cache"] => array(9) { ["apc"] => array(1) { ["class"] => string(30) "Doctrine\Common\Cache\ApcCache" } ["array"] => array(1) { ["class"] => string(32) "Doctrine\Common\Cache\ArrayCache" } ["filesystem"] => array(2) { ["class"] => string(37) "Doctrine\Common\Cache\FilesystemCache" ["directory"] => string(25) "data/DoctrineModule/cache" } ["memcache"] => array(2) { ["class"] => string(35) "Doctrine\Common\Cache\MemcacheCache" ["instance"] => string(17) "my_memcache_alias" } ["memcached"] => array(2) { ["class"] => string(36) "Doctrine\Common\Cache\MemcachedCache" ["instance"] => string(18) "my_memcached_alias" } ["redis"] => array(2) { ["class"] => string(32) "Doctrine\Common\Cache\RedisCache" ["instance"] => string(14) "my_redis_alias" } ["wincache"] => array(1) { ["class"] => string(35) "Doctrine\Common\Cache\WinCacheCache" } ["xcache"] => array(1) { ["class"] => string(33) "Doctrine\Common\Cache\XcacheCache" } ["zenddata"] => array(1) { ["class"] => string(35) "Doctrine\Common\Cache\ZendDataCache" } } ["connection"] => array(1) { ["orm_default"] => array(4) { ["configuration"] => string(11) "orm_default" ["eventmanager"] => string(11) "orm_default" ["params"] => array(5) { ["host"] => string(10) "10.0.3.101" ["port"] => string(4) "3306" ["user"] => string(2) "d6" ["password"] => string(4) "1111" ["dbname"] => string(5) "zblog" } ["driverClass"] => string(36) "Doctrine\DBAL\Driver\PDOMySql\Driver" } } ["configuration"] => array(1) { ["orm_default"] => array(8) { ["metadata_cache"] => string(5) "array" ["query_cache"] => string(5) "array" ["result_cache"] => string(5) "array" ["driver"] => string(11) "orm_default" ["generate_proxies"] => bool(true) ["proxy_dir"] => string(28) "data/DoctrineORMModule/Proxy" ["proxy_namespace"] => string(23) "DoctrineORMModule\Proxy" ["filters"] => array(0) { } } } ["entitymanager"] => array(1) { ["orm_default"] => array(2) { ["connection"] => string(11) "orm_default" ["configuration"] => string(11) "orm_default" } } ["eventmanager"] => array(1) { ["orm_default"] => array(0) { } } ["sql_logger_collector"] => array(1) { ["orm_default"] => array(0) { } } ["entity_resolver"] => array(1) { ["orm_default"] => array(0) { } } ["authentication"] => array(1) { ["orm_default"] => array(1) { ["objectManager"] => string(34) "doctrine.entitymanager.orm_default" } } } ["bjyauthorize"] => array(11) { ["default_role"] => string(5) "guest" ["authenticated_role"] => string(4) "user" ["identity_provider"] => string(61) "BjyAuthorize\Provider\Identity\AuthenticationIdentityProvider" ["role_providers"] => array(1) { ["BjyAuthorize\Provider\Role\ObjectRepositoryProvider"] => array(2) { ["object_manager"] => string(35) "doctrine.entity_manager.orm_default" ["role_entity_class"] => string(18) "MyUser\Entity\Role" } } ["resource_providers"] => array(0) { } ["rule_providers"] => array(0) { } ["guards"] => array(1) { ["BjyAuthorize\Guard\Controller"] => array(6) { [0] => array(3) { ["controller"] => string(7) "zfcuser" ["action"] => array(1) { [0] => string(5) "index" } ["roles"] => array(2) { [0] => string(5) "guest" [1] => string(4) "user" } } [1] => array(3) { ["controller"] => string(7) "zfcuser" ["action"] => array(3) { [0] => string(5) "login" [1] => string(12) "authenticate" [2] => string(8) "register" } ["roles"] => array(1) { [0] => string(5) "guest" } } [2] => array(3) { ["controller"] => string(7) "zfcuser" ["action"] => array(1) { [0] => string(6) "logout" } ["roles"] => array(1) { [0] => string(4) "user" } } [3] => array(2) { ["controller"] => string(28) "Application\Controller\Index" ["roles"] => array(0) { } } [4] => array(3) { ["controller"] => string(26) "MyBlog\Controller\BlogPost" ["action"] => array(2) { [0] => string(5) "index" [1] => string(4) "view" } ["roles"] => array(2) { [0] => string(5) "guest" [1] => string(4) "user" } } [5] => array(3) { ["controller"] => string(26) "MyBlog\Controller\BlogPost" ["action"] => array(3) { [0] => string(3) "add" [1] => string(4) "edit" [2] => string(6) "delete" } ["roles"] => array(1) { [0] => string(13) "administrator" } } } } ["unauthorized_strategy"] => string(38) "BjyAuthorize\View\UnauthorizedStrategy" ["template"] => string(9) "error/403" ["cache_options"] => array(2) { ["adapter"] => array(1) { ["name"] => string(6) "memory" } ["plugins"] => array(1) { [0] => string(10) "serializer" } } ["cache_key"] => string(16) "bjyauthorize_acl" } ["zenddevelopertools"] => array(2) { ["profiler"] => array(6) { ["collectors"] => array(3) { ["bjy_authorize_role_collector"] => string(36) "BjyAuthorize\Collector\RoleCollector" ["orm_default"] => string(41) "doctrine.sql_logger_collector.orm_default" ["orm_default_mappings"] => string(38) "doctrine.mapping_collector.orm_default" } ["enabled"] => bool(true) ["strict"] => bool(false) ["flush_early"] => bool(false) ["cache_dir"] => string(10) "data/cache" ["matcher"] => array(0) { } } ["toolbar"] => array(5) { ["entries"] => array(3) { ["bjy_authorize_role_collector"] => string(47) "zend-developer-tools/toolbar/bjy-authorize-role" ["orm_default"] => string(49) "zend-developer-tools/toolbar/doctrine-orm-queries" ["orm_default_mappings"] => string(50) "zend-developer-tools/toolbar/doctrine-orm-mappings" } ["enabled"] => bool(true) ["auto_hide"] => bool(false) ["position"] => string(6) "bottom" ["version_check"] => bool(true) } } ["translator"] => array(2) { ["locale"] => string(5) "en_US" ["translation_file_patterns"] => array(1) { [0] => array(3) { ["type"] => string(7) "gettext" ["base_dir"] => string(60) "/var/www/zblog.kece.ru/module/Application/config/../language" ["pattern"] => string(5) "%s.mo" } } } ["console"] => array(1) { ["router"] => array(1) { ["routes"] => array(0) { } } } ["view_helpers"] => array(1) { ["invokables"] => array(1) { ["showMessages"] => string(31) "MyBlog\View\Helper\ShowMessages" } } ["zfcuser"] => array(4) { ["user_entity_class"] => string(18) "MyUser\Entity\User" ["enable_default_entities"] => bool(false) ["auth_adapters"] => array(1) { [100] => string(33) "ZfcUser\Authentication\Adapter\Db" } ["table_name"] => string(5) "users" } ["zfctwig"] => array(7) { ["environment_loader"] => string(18) "ZfcTwigLoaderChain" ["environment_options"] => array(0) { } ["loader_chain"] => array(2) { [0] => string(24) "ZfcTwigLoaderTemplateMap" [1] => string(30) "ZfcTwigLoaderTemplatePathStack" } ["extensions"] => array(1) { ["zfctwig"] => string(16) "ZfcTwigExtension" } ["suffix"] => string(4) "twig" ["enable_fallback_functions"] => bool(true) ["disable_zf_model"] => bool(true) } }
ApplicationConfig
)
array(2) { ["modules"] => array(11) { [0] => string(7) "ZfcBase" [1] => string(7) "ZfcUser" [2] => string(18) "ZfcUserDoctrineORM" [3] => string(12) "BjyAuthorize" [4] => string(11) "Application" [5] => string(18) "ZendDeveloperTools" [6] => string(14) "DoctrineModule" [7] => string(17) "DoctrineORMModule" [8] => string(6) "MyBlog" [9] => string(6) "MyUser" [10] => string(7) "ZfcTwig" } ["module_listener_options"] => array(2) { ["module_paths"] => array(2) { [0] => string(8) "./module" [1] => string(8) "./vendor" } ["config_glob_paths"] => array(1) { [0] => string(39) "config/autoload/{,*.}{global,local}.php" } } }