Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 524 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 524 Bytes

nhtsa

This is a REST API developed in Lumen framework written in PHP.
It returns vehicles crash test ratings by querying nhtsa open URL.

INSTALL:

  • 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.