Skip to content

Instantly share code, notes, and snippets.

@carlessistare
Created June 11, 2013 14:45
Show Gist options
  • Select an option

  • Save carlessistare/5757446 to your computer and use it in GitHub Desktop.

Select an option

Save carlessistare/5757446 to your computer and use it in GitHub Desktop.
curl -s https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
mkdir testzf2/
cd testzf2/
vim composer.json
################
{
"name": "zendframework/testzf2",
"description": "Skeleton Application for ZF2",
"keywords": [
"framework",
"zf2"
],
"homepage": "http://framework.zend.com/",
"repositories": [
{
"type": "composer",
"url": "https://packages.zendframework.com/"
}
],
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": "2.*",
"zendframework/zendservice-amazon": "2.*",
"doctrine/common": "2.*"
}
}
################
composer install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment