PHP code example of weisl / efront-php-sdk
1. Go to this page and download the library: Download weisl/efront-php-sdk 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/ */
weisl / efront-php-sdk example snippets
use Weisl\EFrontSDK\EFrontAPI;
...
$api = new EFrontAPI("1.0", "https://your-efront-domain.com/API", "your-api-key");
$api->GetAPI('System')->GetInfo();
$api->GetAPI('CourseUser')->AddRelation($userId, $courseId);
composer
/tests/SimpleApiTest.php