Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installing zf2 on ubuntu server 12.04.01 LTS

Trying to install ZF2 on my ubuntu server using

curl -s https://getcomposer.org/installer | php && ./composer.phar create-project zendframework/skeleton-application /var/www/skeleton-app dev-master

I've also tried to add @dev in the end and I keep on getting the following error:

"could not find package zendframework/skeleton-application/var/www/skeleton-app with stability stable."

Any ideas?

like image 365
Shahar Galukman Avatar asked Jan 07 '13 17:01

Shahar Galukman


2 Answers

Add -sdev

So it became

php composer.phar create-project -sdev --repository-url="http://packages.zendframework.com" zendframework/skeleton-application path/to/install
like image 152
Mr Coder Avatar answered Oct 10 '22 21:10

Mr Coder


Thanks to Xerkus

From https://github.com/zendframework/ZendSkeletonApplication#using-composer-recommended

Should have read more about it i guess

like image 27
Shahar Galukman Avatar answered Oct 10 '22 21:10

Shahar Galukman