Install Apache/Nginx
Install PHP >7.3
https://www.php.net/downloads
Install mysql-server
Install Composer
https://getcomposer.org/download/
Enable mysqli in the php.ini config file by adding this line (you might have to install the extension first):
extension=mysqli
Import the employees.sql file in your mysql server.
Open index.php and change following variables:
$serverName = "localhost";
$username = "mysql";
$password = "ventieldopje24";
Install dependencies (--no-dev when in production)
composer install
Regenerate autoload classmap
composer dump-autoload
Run unit tests
./vendor/bin/phpunit tests
Place content in /var/www or whatever webserver you are using! A working application should give the following result:
Check your apache/nginx logs if you get errors or missing data list!