You can install the package via composer:
composer require xgenious/xgapiclient
You can publish and run the migrations with:
php artisan vendor:publish --tag="xgapiclient-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="xgapiclient-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="xgapiclient-views"
This is the contents of the published config file:
return [
"base_api_url" => "https://license.xgenious.com",
"has_token" => "" //unique product code for license server
];
$xgapiclient = new XgApiClient\XgApiClient();
echo $xgapiclient->echoPhrase('Hello, XgApiClient!');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.