#Info
composer install
To run the application locally:
composer start
Run this command in the application directory to run the test suite
composer test
#NOTES
-
Added welcome route - see templates/welcome.phtml and app/routes.php (welcome) as an example: http://0.0.0.0:8080/welcome
-
Added weather route - see templates.weather.phtml and app/routes.php (weather) as an example: http://0.0.0.0:8080/weather/Bath/rainy
-
Added temperature route - see app/routes.php (temperature) note the content renders directly from the function itself. as an example http://0.0.0.0:8080/temperature/London/hot
-
Added pet route, demonstrating how you can use
[]
to indicate that the route parameter is optional. Again, this renders directly from the function. as an example http://0.0.0.0:8080/pet/Nelly -
Added myName route. see templates/myName.phtml adn app/routes.php (myName) this is an example of passing in the route parameters as an associative array. as an example http://0.0.0.0:8080/myName/Jo/Padfield