Download the PHP package priorist/edm-sdk without Composer
On this page you can find all versions of the php package priorist/edm-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download priorist/edm-sdk
More information about priorist/edm-sdk
Files in priorist/edm-sdk
Package edm-sdk
Short Description A PHP library to interact with the RESTful API of the Education Manager (EDM).
License Apache-2.0
Informations about the package edm-sdk
EDM SDK PHP
A PHP library to interact with the RESTful API of the Education Manager (EDM).
Install with Composer
Usage
Init client
Events
Single event for a given ID
List of upcoming events
Categories
Single category for a given ID
List of all categories
Event locations
Single location for a given ID
List of all locations
Lecturers
Single lecturer for a given ID
List of all lecturers
Tags
Single tag for a given ID
List of all tags
Enrollments
Enroll for a given event
Generic requests
If you do not find a suitable method of a given repository, you may use the more
generic methods fetchCollection($params = [])
and fetchSingle(int $id, array $params = [])
.
E.g. $client->event->findUpcoming()
equals
You can even call any endpoint you like, even the ones without an actual repository:
Class docs
Current PHPDocs can be viewed here: https://priorist.github.io/edm-sdk-php/
Run tests
Enable compose.override.yml
and run
XDebug support for Docker for Mac included.
To create and view a detailed, browsable test coverage report run
Generate docs
Build *.phar archive
To use the SDK in legacy applications, you may build and include a *.phar package in your application.
Download phar-composer first:
Build the archive:
To use the client, include the autoload of the archive:
All versions of edm-sdk with dependencies
guzzlehttp/guzzle Version ^6.5.8 || ^7.0.0
league/oauth2-client Version ^2.4