ismalex / travel-agency

Use of Amadeus API with PHP/Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travel-agency

Travel-Agency is a web app made in PHP 7 with the Laravel Framework 5.7. It uses the Amadeus RESTFUL API to get flight information.

Getting started

This project provides an example of consuming the Amadeus API using guzzle, including the generation of the Api Keyand the Api Secret necessary for this implementation. The Api keys can be founded on the Amadeus documentation.

Prerequisites

  • Install and run XAMPP in your computer.
  • Install Laravel Framework.

Installation guide

  • Create a new Laravel project.
composer create-project --prefer-dist laravel/laravel travel-agency
  • Go to C:\xampp\htdocs
  • Replace the recently created travel-agency folder with the app folder provided.
  • Run the migrations. (in case the migrations don’t work you can use the dream_travel_db.sql file provided on /database)
  • Run the application.
http://localhost/travel-agency/public

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Use of Amadeus API with PHP/Laravel

License:MIT License


Languages

Language:CSS 59.8%Language:HTML 36.8%Language:PHP 2.7%Language:JavaScript 0.4%Language:TSQL 0.2%Language:Vue 0.0%