#!/usr/bin/env php array( 'ZFTool', ), 'module_listener_options' => array( 'config_glob_paths' => array( 'config/autoload/{,*.}{global,local}.php', ), 'module_paths' => array( '.', './vendor', ), ), ); } Zend\Mvc\Application::init($appConfig)->run();