Download the PHP package dbp/relay-base-organization-connector-campusonline-bundle without Composer
On this page you can find all versions of the php package dbp/relay-base-organization-connector-campusonline-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dbp/relay-base-organization-connector-campusonline-bundle
More information about dbp/relay-base-organization-connector-campusonline-bundle
Files in dbp/relay-base-organization-connector-campusonline-bundle
Package relay-base-organization-connector-campusonline-bundle
Short Description A template bundle for the Relay API gateway
License AGPL-3.0-or-later
Informations about the package relay-base-organization-connector-campusonline-bundle
DbpRelayBaseOrganizationConnectorCampusonlineBundle
Integration into the Relay API Server
-
Add the bundle package as a dependency:
-
Add the bundle to your
config/bundles.php
: - Run
composer install
to clear caches
Configuration
The bundle has some configuration values that you can specify in your app, either by hard-coding it, or by referencing an environment variable.
For this create config/packages/dbp_relay_base_organization_connector_ldap.yaml
in the app with the following
content:
For more info on bundle configuration see https://symfony.com/doc/current/bundles/configuration.html
Events
OrganizationPostEvent
This event allows you to add additional attributes ("local data") to the \Dbp\Relay\BaseOrganizationBundle\Entity\Organization
base-entity that you want to be included in responses to Organization
entity requests.
Event subscribers receive a \Dbp\Relay\RelayBaseOrganizationConnectorCampusonlineBundle\Event\OrganizationPostEvent
instance containing the Organization
base-entity and the organization data provided by Campusonline.
For example, create an event subscriber src/EventSubscriber/OrganizationEventSubscriber.php
:
And add it to your src/Resources/config/services.yaml
:
All versions of relay-base-organization-connector-campusonline-bundle with dependencies
ext-json Version *
api-platform/core Version ^2.7.11 || ^3.2
dbp/campusonline-api Version ^0.3.13
dbp/relay-base-organization-bundle Version ^0.2.11
dbp/relay-core-bundle Version ^0.1.153
symfony/framework-bundle Version ^5.4 || ^6.4
symfony/config Version ^5.4 || ^6.4
symfony/event-dispatcher Version ^5.4 || ^6.4
symfony/dependency-injection Version ^5.4 || ^6.4
symfony/event-dispatcher-contracts Version ^2.5 || ^3.4
symfony/http-foundation Version ^5.4 || ^6.4
symfony/http-kernel Version ^5.4 || ^6.4
psr/log Version ^1.1.4 || ^2.0.0 || ^3.0.0