Skip to content

Instantly share code, notes, and snippets.

@tournasdim
Created June 24, 2013 21:23
Show Gist options
  • Save tournasdim/5853723 to your computer and use it in GitHub Desktop.
Save tournasdim/5853723 to your computer and use it in GitHub Desktop.
Laravel4 and ZF2 Composer file example
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"require": {
"laravel/framework": "4.0.*" ,
"stevemo/cpanel": "dev-develop" ,
"zendframework/zend-config": "2.*",
"zendframework/zend-http": "2.*"
},
"repositories": [
{
"type": "composer",
"url": "https://packages.zendframework.com/"
}
],
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan optimize"
],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment