Small web application built using PHP 7.1 & Symfony 3 to show a summary of food hygiene ratings across the establishments in a local authority.
- The Establishments API will return all establishments for a particular local authority without requiring paging (ie pageSize=0).
- read the
System Requirements
- clone the repository:
git clone https://github.com/chrishodgson/symfony-food-hygiene.git
- cd into the repository folder and run composer:
composer install
- serve the application:
php bin/console server:start
- Visit
http://127.0.0.1:8000
in a web browser
- PHP version >= 7.1
- Composer # See https://getcomposer.org/ for more information and documentation.
This app uses jQuery and Bootstrap which have certain restrictions when it comes to browser support, in particular Internet Explorer. More info...
- cd into the repository folder and run phpunit:
bin/phpunit
- Cache the list of local authorities and ratings returned for each Local Authority to improve performance