1. Go to this page and download the library: Download navari/huawei-app-gallery 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/ */
navari / huawei-app-gallery example snippets
// Retrieving subcription data
$huawei = new \Navari\Huawei\Huawei($clientId, $clientSecret);
$result = $huawei->verifySubscription('000001788eb505debf94d1fd2bfea4bd6345d499b083ae57866244271fdaf31567f85314075203c4x5452.7.7621', '1617301931486.1C0A5292.7621');