Zendframework2 tutorial part 1

posted in: Zend Framework | 0

Zend Framework 2.2.4

 

1. Download the skeleton application from

https://github.com/zendframework/ZendSkeletonApplication  –> this is a zip file.

2.Extract the downloaded the zip folder and place it in the root directory

ex: wamp/www/projectName

 

3.Set the environment variable path with php path like “D:/wamp/bin/php/phpversion/”

 

4.Open the command prompt—>go to the root directory–>

a. php composer.phar self-update

b. php composer.phar install

 

While installing you will get an error regarding openssl extension, for that go to the

a. Wamp/bin/apache/Apacheversion/php.ini –>search for openssl –> and uncomment it

b. Wamp/bin/php/phpversion/php.ini —>serarch for openssl –> and uncomment it.

 

Now try for the command—> php composer.phar install.

 

5. Now open the Browser –> run the zendfolder–>you will see welcome to zenframework2.

Now you have the following folder structure under Zendy folder.

config –> folder

data    –>  folder

module–> folder

public–>   folder

vendor–>  folder

.php, .phar, .json ……files.

Previous Post
Next Post

Leave a Reply