dbp/campusonline-api
PHP client for CAMPUSonline web services. Supports legacy REST endpoints, generic exports API, and legacy XML web services. Configure base URL and credentials/token, then access resources like UCard, exports, and organization units.
The goal of this package is to provide a PHP API for the various web services provided by CAMPUSonline.
composer require dbp/campusonline-api
<?php
use Dbp\CampusonlineApi\Rest\Api;
$api = new Api('https://qline.example.at/online/', 'client_id', 'client_secret');
$ucard = $api->UCard();
$ucard->getCardsForIdentIdObfuscated('1234567890');
<?php
use Dbp\CampusonlineApi\Rest\Api;
$api = new Api('https://qline.example.at/online/', 'client_id', 'client_secret');
$generic = $api->GenericApi('loc_apiMyExport');
$generic->getResource('ID', '42);
<?php
use Dbp\CampusonlineApi\LegacyWebService\Api;
$api = new Api('https://qline.example.at/online/', 'api_token');
$org = $api->OrganizationUnit();
$org->getOrganizationUnitById('1234');
TODO
How can I help you explore Laravel packages today?