weisl / efront-php-sdk
This is a maintained version of the efrontPRO-SDK repository.
Installs: 1 971
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
Requires (Dev)
- phpunit/phpunit: ^9.5
README
This is an unofficial composer package of the original eFrontPRO-SDK from Epignosis. It aims to improve simplicity as well as maintaining/adding endpoints from the official documentation provided on Swaggerhub page.
Installation
This package can be installed with composer require weisl/efront-php-sdk
.
Usage
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);
Contributing
You can contribute to this project in every way you like. If you encounter any errors or spot missing endpoints, feel free to contact me.
Testing
In order to test the application, you need to set apiVersion, apiLocation and apiKey accordingly. See /tests/SimpleApiTest.php
for an example.
Run the tests with: vendor/bin/phpunit
Documentation
The authors provided the following documentation via GitHub.