Download the PHP package dbp/relay-base-course-connector-campusonline-bundle without Composer
On this page you can find all versions of the php package dbp/relay-base-course-connector-campusonline-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package relay-base-course-connector-campusonline-bundle
DbpRelayBaseCourseConnectorCampusonlineBundle
Base Symfony bundle for CampusOnline Course integration for the DBP Relay API Server
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_course_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
CoursePostEvent
This event allows you to add additional attributes ("local data") to the \Dbp\Relay\BaseCourseBundle\Entity\Course
base-entity that you want to be included in responses to Course
entity requests.
Event subscribers receive a \Dbp\Relay\RelayBaseCourseConnectorCampusonlineBundle\Event\CourseProviderPostEvent
instance containing the Course
base-entity and the course data provided by Campusonline.
For example, create an event subscriber src/EventSubscriber/CourseEventSubscriber.php
:
And add it to your src/Resources/config/services.yaml
:
All versions of relay-base-course-connector-campusonline-bundle with dependencies
ext-json Version *
api-platform/core Version ^2.7.11 || ^3.2
dbp/campusonline-api Version ^0.3.1
dbp/relay-base-course-bundle Version ^0.2.12
dbp/relay-core-bundle Version ^0.1.171
symfony/event-dispatcher Version ^5.4 || ^6.4
symfony/http-kernel Version ^5.4 || ^6.4
symfony/http-foundation Version ^5.4 || ^6.4
symfony/dependency-injection Version ^5.4 || ^6.4
symfony/config Version ^5.4 || ^6.4
symfony/framework-bundle Version ^5.4 || ^6.4
psr/log Version ^1.1.4 || ^2.0 || ^3.0