PHP code example of irfa / app-license-client
1. Go to this page and download the library: Download irfa/app-license-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
irfa / app-license-client example snippets
APP_SERIAL_NUMBER=XXXX-XXXX-XXXX-XXXX
APP_LICENSE_ENDPOINT=https://example.com/check/license
'licenseCheck' => \Irfa\AppLicenseClient\Middleware\AppLicenseChecker::class,
Route::middleware('licenseCheck')->get('/example','TestController@index');