Download the PHP package lsolesen/edbbrugs-php-sdk without Composer
On this page you can find all versions of the php package lsolesen/edbbrugs-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lsolesen/edbbrugs-php-sdk
More information about lsolesen/edbbrugs-php-sdk
Files in lsolesen/edbbrugs-php-sdk
Package edbbrugs-php-sdk
Short Description PHP-SDK for integrating with EDB-BRUGS which is a platform used by the free schools in Denmark for managing students.
License MIT
Homepage http://github.com/vih/edbbrugs-php-sdk
Informations about the package edbbrugs-php-sdk
PHP SDK for EDB-Brugs
PHP 7 SDK to communicate with De frie skolers EDB-BRUGS.
Requirements
- Access to the programs from EDB-BRUGS.
- License for "Webtilmeldinger" (contact EDB-BRUGS support)
- EDB-BRUGS uses the new "stamdata" system
Getting started
The service communicates via SOAP to EDB-BRUGS. You are only able to create new registrations which has to manually manipulated and put into the correct courses using the EDB-BRUGS Windows program.
To get access to the service, you need to contact the support at EDB-BRUGS. You need following information:
- WSDL for the SOAP-service (append ?wsdl to the WSDL-endpoint you recieve from EDB-BRUGS)
- Username
- Password
- School Code
Installation
Composer
Simply add a dependency on lsolesen/edbbrugs-php-sdk to your project's composer.json
file if you use Composer to manage the dependencies of your project. Here is a minimal example of a composer.json
file that just defines a dependency on EDBBrugs-PHP-SDK:
After running composer install
, you can take advantage of Composer's autoloader in vendor/autoload.php
.
Usage
If you need to put something into custom fields, you will have to do like this:
Testing
You can test the methods on the commandline, by running:
php vendor/bin/phpunit --exclude-group=IntegrationTest tests
If you want to test the integration, please create a ´phpunit.xml´ based on ´phpunit.dist.xml´ with the correct information for accesssing the service.
php vendor/bin/phpunit tests
During testing you need to manually delete the web registrations using the Windows EDB-BRUGS program. There is no way to delete using the SOAP webservice.
All versions of edbbrugs-php-sdk with dependencies
ext-soap Version *