galiasay/laravel-expedia is a Laravel package for expedia api for laravel 5.
It currently has 1 GitHub stars and 96 downloads on Packagist (latest version 0.0.1).
Install it with composer require galiasay/laravel-expedia.
Discover more Laravel packages by galiasay
or browse all Laravel packages to compare alternatives.
Last updated
This is a simple Laravel Service Provider providing access to the Expedia API.
Add the package in your composer.json by executing the command.
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:
'providers' => [
Galiasay\Expedia\ExpediaServiceProvider::class,
];
And add an alias:
'aliases' => [
'ExpediaApi' => \Galiasay\Expedia\Facades\ExpediaApi::class
];
Create configuration file and migration table using artisan:
$ php artisan vendor:publish
Execute the database migrations:
$ php artisan migrate
Then update config/expedia.php with your credentials. You can also update your .env file with the following:
EXPEDIA_CID = my_expedia_cid
EXPEDIA_API_KEY = my_expedia_api_key
EXPEDIA_SECRET = my_expedia_secret
EXPEDIA_MINOR_REV = my_expedia_rev
$ php artisan expedia:import