Welcome to Zend Framework 2

Congratulations! You have successfully installed the ZF2 Skeleton Application. You are currently running Zend Framework version 2.3.3. This skeleton can serve as a simple starting point for you to begin building your application on ZF2.

Fork Zend Framework 2 on GitHub »

Follow Development

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!

ZF2 Development Portal »

Discover Modules

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.

Explore ZF2 Modules »

Help & Support

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.

Ping us on IRC »


Zend Framework 2 2.3.3
Documentation Modules Gallery Version 2.3.3 PHP Version 5.6.40 Extensions intl ModulesZendDeveloperToolsDoctrineModuleDoctrineORMModuleApplicationCron
Request and Response 200 Index::index on home
Status code 200 Method GET Controller Application\Controller\Index Action index Route home Templateslayout/layoutapplication/index/index
Execution Time 2.69 s
1. route287.39 ms
File: Mvc/Application.php - Line: 296
Target: Zend\Mvc\Application
2. dispatch2.13 ms
File: Mvc/Application.php - Line: 313
Target: Zend\Mvc\Application
3. dispatch5.07 ms
File: Controller/AbstractController.php - Line: 117
Target: Application\Controller\IndexController
4. render2.36 s
File: Mvc/Application.php - Line: 352
Target: Zend\Mvc\Application
5. renderer142.10 µs
File: View/View.php - Line: 175
Target: Zend\View\View
6. renderer.post103.95 µs
File: View/View.php - Line: 185
Target: Zend\View\View
7. renderer110.86 µs
File: View/View.php - Line: 175
Target: Zend\View\View
8. renderer.post107.05 µs
File: View/View.php - Line: 185
Target: Zend\View\View
9. response31.94 ms
File: View/View.php - Line: 216
Target: Zend\View\View
10. finish179.05 µs
File: Mvc/Application.php - Line: 353
Target: Zend\Mvc\Application
Total Time 2.69 s
Memory Peak 123.00 Mb
1. route3.00 Mb

Mvc/Application.php - Line: 296

2. dispatch0 B

Mvc/Application.php - Line: 313

3. dispatch0 B

Controller/AbstractController.php - Line: 117

4. render116.50 Mb

Mvc/Application.php - Line: 352

5. renderer0 B

View/View.php - Line: 175

6. renderer.post0 B

View/View.php - Line: 185

7. renderer0 B

View/View.php - Line: 175

8. renderer.post0 B

View/View.php - Line: 185

9. response0 B

View/View.php - Line: 216

10. finish0 B

Mvc/Application.php - Line: 353

Memory Peak 123.00 Mb
Config Config
Merged Config (Config)
array(8) {
  ["view_manager"] => array(7) {
    ["template_path_stack"] => array(2) {
      ["zenddevelopertools"] => string(88) "/home/np7730/public_html/muutus/vendor/zendframework/zend-developer-tools/config/../view"
      [0] => string(65) "/home/np7730/public_html/muutus/module/Application/config/../view"
    }
    ["template_map"] => array(6) {
      ["zend-developer-tools/toolbar/doctrine-orm-queries"] => string(138) "/home/np7730/public_html/muutus/vendor/doctrine/doctrine-orm-module/config/../view/zend-developer-tools/toolbar/doctrine-orm-queries.phtml"
      ["zend-developer-tools/toolbar/doctrine-orm-mappings"] => string(139) "/home/np7730/public_html/muutus/vendor/doctrine/doctrine-orm-module/config/../view/zend-developer-tools/toolbar/doctrine-orm-mappings.phtml"
      ["layout/layout"] => string(85) "/home/np7730/public_html/muutus/module/Application/config/../view/layout/layout.phtml"
      ["application/index/index"] => string(95) "/home/np7730/public_html/muutus/module/Application/config/../view/application/index/index.phtml"
      ["error/404"] => string(81) "/home/np7730/public_html/muutus/module/Application/config/../view/error/404.phtml"
      ["error/index"] => string(83) "/home/np7730/public_html/muutus/module/Application/config/../view/error/index.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"
  }
  ["doctrine"] => array(9) {
    ["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(9) "localhost"
          ["port"] => string(4) "3306"
          ["user"] => string(13) "np7730_change"
          ["password"] => string(9) "oOk4kjJxg"
          ["dbname"] => string(13) "np7730_change"
        }
        ["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) {
        }
      }
    }
    ["driver"] => array(3) {
      ["orm_default"] => array(2) {
        ["class"] => string(39) "Doctrine\ORM\Mapping\Driver\DriverChain"
        ["drivers"] => array(2) {
          ["Application\Entity"] => string(20) "application_entities"
          ["Cron\Entity"] => string(13) "cron_entities"
        }
      }
      ["application_entities"] => array(3) {
        ["class"] => string(44) "Doctrine\ORM\Mapping\Driver\AnnotationDriver"
        ["cache"] => string(5) "array"
        ["paths"] => array(1) {
          [0] => string(83) "/home/np7730/public_html/muutus/module/Application/config/../src/Application/Entity"
        }
      }
      ["cron_entities"] => array(3) {
        ["class"] => string(44) "Doctrine\ORM\Mapping\Driver\AnnotationDriver"
        ["cache"] => string(5) "array"
        ["paths"] => array(1) {
          [0] => string(69) "/home/np7730/public_html/muutus/module/Cron/config/../src/Cron/Entity"
        }
      }
    }
    ["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"
      }
    }
  }
  ["router"] => array(1) {
    ["routes"] => array(3) {
      ["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"
          }
        }
      }
      ["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) {
              }
            }
          }
        }
      }
    }
  }
  ["zenddevelopertools"] => array(3) {
    ["profiler"] => array(6) {
      ["collectors"] => array(2) {
        ["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(true)
      ["flush_early"] => bool(false)
      ["cache_dir"] => string(10) "data/cache"
      ["matcher"] => array(0) {
      }
    }
    ["toolbar"] => array(5) {
      ["entries"] => array(2) {
        ["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(false)
    }
    ["events"] => array(3) {
      ["enabled"] => bool(true)
      ["collectors"] => array(0) {
      }
      ["identifiers"] => array(0) {
      }
    }
  }
  ["service_manager"] => array(2) {
    ["abstract_factories"] => array(2) {
      [0] => string(53) "Zend\Cache\Service\StorageCacheAbstractServiceFactory"
      [1] => string(37) "Zend\Log\LoggerAbstractServiceFactory"
    }
    ["aliases"] => array(1) {
      ["translator"] => string(13) "MvcTranslator"
    }
  }
  ["translator"] => array(2) {
    ["locale"] => string(5) "en_US"
    ["translation_file_patterns"] => array(1) {
      [0] => array(3) {
        ["type"] => string(7) "gettext"
        ["base_dir"] => string(69) "/home/np7730/public_html/muutus/module/Application/config/../language"
        ["pattern"] => string(5) "%s.mo"
      }
    }
  }
  ["controllers"] => array(1) {
    ["invokables"] => array(3) {
      ["Application\Controller\Index"] => string(38) "Application\Controller\IndexController"
      ["Cron\Controller\CronController"] => string(30) "Cron\Controller\CronController"
      ["Cron\Controller\ImportController"] => string(32) "Cron\Controller\ImportController"
    }
  }
  ["console"] => array(1) {
    ["router"] => array(1) {
      ["routes"] => array(5) {
        ["my-first-route"] => array(1) {
          ["options"] => array(2) {
            ["route"] => string(8) "metadata"
            ["defaults"] => array(2) {
              ["controller"] => string(30) "Cron\Controller\CronController"
              ["action"] => string(8) "metadata"
            }
          }
        }
        ["route-3"] => array(1) {
          ["options"] => array(2) {
            ["route"] => string(6) "import"
            ["defaults"] => array(2) {
              ["controller"] => string(32) "Cron\Controller\ImportController"
              ["action"] => string(5) "index"
            }
          }
        }
        ["route-4"] => array(1) {
          ["options"] => array(2) {
            ["route"] => string(7) "dirlist"
            ["defaults"] => array(2) {
              ["controller"] => string(32) "Cron\Controller\ImportController"
              ["action"] => string(7) "dirlist"
            }
          }
        }
        ["route-5"] => array(1) {
          ["options"] => array(2) {
            ["route"] => string(4) "sync"
            ["defaults"] => array(2) {
              ["controller"] => string(30) "Cron\Controller\CronController"
              ["action"] => string(4) "sync"
            }
          }
        }
        ["route-6"] => array(1) {
          ["options"] => array(2) {
            ["route"] => string(4) "test"
            ["defaults"] => array(2) {
              ["controller"] => string(30) "Cron\Controller\CronController"
              ["action"] => string(4) "test"
            }
          }
        }
      }
    }
  }
}
Application Config ApplicationConfig
Application Config (ApplicationConfig)
array(2) {
  ["modules"] => array(5) {
    [0] => string(18) "ZendDeveloperTools"
    [1] => string(14) "DoctrineModule"
    [2] => string(17) "DoctrineORMModule"
    [3] => string(11) "Application"
    [4] => string(4) "Cron"
  }
  ["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"
    }
  }
}
Database (Zend\Db) N/A
Error You have to install or enable @bjyoungblood's Zend\Db Profiler to use this feature.
Doctrine ORM (Queries) 1 queries in 74.13 ms s
DoctrineORMModule Queries for orm_default
SQL SELECT t0.id AS id1, t0.relationId AS relationId2, t0.rooms AS rooms3, t0.price AS price4, t0.date AS date5, t0.title AS title6, t0.changeDate AS changeDate7, t0.status AS status8 FROM record t0 Params Types Time 0.074127197265625
Doctrine ORM (Mappings) 4 mappings
DoctrineORMModule Mappings for orm_default_mappings
Application\Entity\Record
Cron\Entity\Record
Cron\Entity\ImportFileHistory
Cron\Entity\RecordHistory