Monday, April 8, 2013

3 Ways to Start your Zend Framework 2 Skeleton Application

3 Ways to Start your Zend Framework 2 Skeleton Application

1) Using Composer
Linux User

php composer.phar create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application path/to/install

Windows User
composer create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application path/to/install

E.g.
composer create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application c:\uniserver\www\my-first-zf2
2)Using Git  
git clone --recursive git://github.com/zendframework/ZendSkeletonApplication.git path/to/install

E.g.
git clone --recursive git://github.com/zendframework/ZendSkeletonApplication.git c:\uniserver\www\my-first-zf2

3)Manual
Setup the Skeleton Source Code
Download the zip file and extract into your development directory
https://github.com/zendframework/ZendSkeletonApplication/zipball/master

Setup the Zend framework 2
Download the Zend Framework 2 from here https://packages.zendframework.com/
Extract the zip file into your desire directory and add the directory into your  php include_path.



No comments: