dbp / campusonline-api
v0.3.44
2026-06-10 07:21 UTC
Requires
- php: >=8.2
- ext-json: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^7.3
- kevinrob/guzzle-cache-middleware: ^5.0 || ^6.0 || ^7.0
- league/uri: ^6.5 || ^7.4.0
- league/uri-interfaces: ^2.3 || ^7.4
- psr/cache: ^1.0.1 || ^2.0.0 || ^3.0.0
- psr/http-message: ^1.0 || ^2.0
- psr/log: ^1.1.4 || ^2.0 || ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.50
- phpstan/phpstan: ^2.0.0
- phpstan/phpstan-phpunit: ^2.0.0
- phpunit/phpunit: ^10.5.62
- symfony/cache: ^5.4 || ^6.4.3
- symfony/phpunit-bridge: ^7.0.7
This package is auto-updated.
Last update: 2026-06-13 06:02:15 UTC
README
The goal of this package is to provide a PHP API for the various web services provided by CAMPUSonline.
composer require dbp/campusonline-api
Legacy Rest 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');
Generic Exports API
<?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);
Legacy XML Web Services API
<?php use Dbp\CampusonlineApi\LegacyWebService\Api; $api = new Api('https://qline.example.at/online/', 'api_token'); $org = $api->OrganizationUnit(); $org->getOrganizationUnitById('1234');
Public Rest API
TODO