This is a REST API developed in Lumen framework written in PHP.
It returns vehicles crash test ratings by querying nhtsa open URL.
- Clone the reposiory
- Optionally copy .env.example to .env and set APP_DEBUG=true|false as per requirement.
- Run composer install.
- Try with PHP built in standalone web server(php -S localhost:8080 public/index.php) or point apache webroot to public/ directory.
- If deploying with Apache, make sure apache uses PHP version 7.1 or above.