How to run project?
- Open PhpStorm
- Click to File->Project from version control
- URL: put https://github.com/terramoud/test-task-php.git
- Directory: choose what you want
- Click to 'clone' button and wait until loaded project
- Open a terminal and make sure you stay in the root of the project
- Execute
composer init
and press enter all times to set all default settings - Execute
composer dump-autoload
- Execute
php -S localhost:8080 -t public
- Open http://localhost:8080
Routing:
- '/' -> registration page
- '/register' -> registration page
- '/list-users' -> table of all users