2017 © Pedro Peláez
 

library laravel-expedia

Expedia API for Laravel 5

image

galiasay/laravel-expedia

Expedia API for Laravel 5

  • Wednesday, May 31, 2017
  • by galiasay
  • Repository
  • 1 Watchers
  • 1 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 15 % Grown

The README.md

Expedia API for Laravel 5

This is a simple Laravel Service Provider providing access to the Expedia API., (*1)

Installation

Add the package in your composer.json by executing the command., (*2)

composer require galiasay/laravel-expedia

Once Expedia API is installed you need to register the service provider with the application. Open up app/config/app.php and find the providers key:, (*3)

'providers' => [
    Galiasay\Expedia\ExpediaServiceProvider::class,
];

And add an alias:, (*4)

'aliases' => [
    'ExpediaApi' => \Galiasay\Expedia\Facades\ExpediaApi::class
];

Configuration

Create configuration file and migration table using artisan:, (*5)

$ php artisan vendor:publish

Execute the database migrations:, (*6)

$ php artisan migrate

Then update config/expedia.php with your credentials. You can also update your .env file with the following:, (*7)

EXPEDIA_CID = my_expedia_cid
EXPEDIA_API_KEY = my_expedia_api_key 
EXPEDIA_SECRET = my_expedia_secret
EXPEDIA_MINOR_REV = my_expedia_rev

Artisan Commands

Import database

$ php artisan expedia:import

The Versions

31/05 2017

dev-master

9999999-dev

Expedia API for Laravel 5

  Sources   Download

MIT

The Requires

 

by Andrey Yakimenko

laravel api expedia

31/05 2017

0.0.1

0.0.1.0

Expedia API for Laravel 5

  Sources   Download

MIT

The Requires

 

by Andrey Yakimenko

laravel api expedia