Skip to content

Instantly share code, notes, and snippets.

@alihammad-gist
Created December 8, 2015 09:20
Show Gist options
  • Save alihammad-gist/1ca36f3c2b8e6f44e02d to your computer and use it in GitHub Desktop.
Save alihammad-gist/1ca36f3c2b8e6f44e02d to your computer and use it in GitHub Desktop.
Autoloading zf2 modules with composer
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"homepage": "http://framework.zend.com/",
"require": {
"php": ">=5.5",
"zendframework/zendframework": "~2.5",
"zendframework/zftool": "dev-master",
"zf-commons/zfc-user": "dev-master"
},
"require-dev": {
"phpspec/phpspec": "^2.4"
},
"autoload": {
"psr-0": {
"Friend": "module/Friend/src/",
"Application": "module/Application/src"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment