dbp / campusonline-api
Installs: 22 622
Dependents: 5
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 1
Requires
- php: >=8.1
- ext-json: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^7.3
- kevinrob/guzzle-cache-middleware: ^3.5 || ^4.0 || ^5.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: ^1.10.59
- phpstan/phpstan-phpunit: ^1.3.16
- phpunit/phpunit: ^10.1
- symfony/cache: ^5.4 || ^6.4.3
- symfony/phpunit-bridge: ^7.0.7
- vimeo/psalm: ^5.22.2
- dev-main
- v0.3.21
- v0.3.20
- v0.3.19
- v0.3.18
- v0.3.17
- v0.3.16
- v0.3.15
- v0.3.14
- v0.3.13
- v0.3.12
- v0.3.11
- v0.3.10
- v0.3.9
- v0.3.8
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.23
- v0.2.22
- v0.2.21
- v0.2.20
- v0.2.19
- v0.2.18
- v0.2.17
- v0.2.16
- v0.2.15
- v0.2.14
- v0.2.13
- v0.2.12
- v0.2.11
- v0.2.10
- v0.2.9
- v0.2.8
- v0.2.7
- v0.2.6
- v0.2.5
- v0.2.4
- v0.2.3
- v0.2.2
- v0.2.1
- v0.2.0
- v0.1.0
- dev-renovate/major-phpstan-packages
- dev-renovate/patch-all-minor-patch
- dev-renovate/lock-file-maintenance
- dev-legacy_web_service
This package is auto-updated.
Last update: 2024-11-18 10:12:00 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