/address-book

Small mvc application demonstrating basic functionality of zend framework 2

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

address-book

Small mvc application demonstrating basic functionality of zend framework 2

Instruction to run this code:

To run this project you don't need to create any virtual host. This code doesn't contain the Zend Framework 2 library inside it, so you need to download the Zend Framework 2 library and then copy the library directory inside vendor/ZF2/ directory.

Database Table

CREATE TABLE IF NOT EXISTS `contact` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `email` varchar(50) NOT NULL,
  `phone` varchar(15) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

NOTE: This source doesn't contain the Zend Framework 2 library, please download library from here https://github.com/zendframework/zf2 then copy the library directory and paste it inside the vendor/ZF2/ directory.

Alternative way to create project

If you failed to run this code for some unknown reason, please follow the instructions in here.