Skip to content

Instantly share code, notes, and snippets.

@ppeiris
Last active December 26, 2015 17:18
Show Gist options
  • Save ppeiris/7185582 to your computer and use it in GitHub Desktop.
Save ppeiris/7185582 to your computer and use it in GitHub Desktop.
This snippet display in my blog ttiaf.com
<?php
/**
* Activated modules.
*/
return array(
'modules' => array(
'....' // Your existing appication modules
'ZF\Apigility', // Apigility modules.
'AssetManager',
'ZF\ApiProblem',
'ZF\Hal',
'ZF\ContentNegotiation',
'ZF\Rest',
'ZF\Configuration',
'ZF\Versioning',
'ZF\Apigility\Admin'
),
'module_listener_options' => array(
'module_paths' => array(
'./module',
'./vendor',
),
'config_glob_paths' => array('config/autoload/{,*.}{global,local}.php')
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment