ZF2 installation my preferred way

1. Download ZF2 skeleton app from GitHub https://github.com/zendframework/ZendSkeletonApplication

2. Extract to www directory.

3. Rename the folder as your project name. In my case, it’s flirtchamp

4. Go to command prompt, change the directory to the project directory. In my case command is: cd /D D:\wamp\www\flirtchamp

5. Now run php composer.phar self-update

6. Then run php composer.phar install

This will take a while to download and generate autoload files.

7. In that mean time, setup the virtual host.

asuming that virtual host is flirtchamp.localhost

All Done. Hit flirtchamp.localhost from browser. you should see the site is running.

Leave a comment