#Screenshots
- Add Following Virtual host
<VirtualHost *:80>
ServerName pmis.test
DocumentRoot C:/wamp64/www/pmis/public
<Directory C:/wamp64/www/pmis/public>
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
- Added this record to
C:\Windows\System32\drivers\etc
(Assumption : Developer is using Windows machine)
127.0.0.1 pmis.test
-
Open command prompt > Run
composer install
(Double check whether you have composer 1 version) -
Restart WAMP Server (Assumption : Developer is using WAMP Server)
- Run this SQL Script in MYSQL Workbench
CREATE TABLE `post` (
`id` int NOT NULL AUTO_INCREMENT,
`title` varchar(45) DEFAULT NULL,
`description` varchar(45) DEFAULT NULL,
`category` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
- DB Credentials
username = root, password = '', database = zf3