Skip to content

XgeniousLLC/license-api-client

Repository files navigation

this package is for managing the license management system for xgenious internals

Latest Version on Packagist Total Downloads

Installation

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
];

Usage

$xgapiclient = new XgApiClient\XgApiClient();
echo $xgapiclient->echoPhrase('Hello, XgApiClient!');

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.