Download the PHP package cerpus/edlib-resource-kit without Composer
On this page you can find all versions of the php package cerpus/edlib-resource-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cerpus/edlib-resource-kit
More information about cerpus/edlib-resource-kit
Files in cerpus/edlib-resource-kit
Package edlib-resource-kit
Short Description Create resource types for Edlib
License GPL-3.0-only
Homepage https://edlib.com/
Informations about the package edlib-resource-kit
Edlib Resource Kit
Create custom content types for Edlib.
Requirements
- PHP 8.2, 8.3 or 8.4
Installation
composer require cerpus/edlib-resource-kit
Usage
Edlib is notified of new content via the LTI Content-Item Message standard. Edlib Resource Kit provides message objects, mappers, and serialisers for working with Content-Item messages.
Mapping
Map serialised Content-Item graphs to message objects:
The JSON input must match the compacted JSON-LD representation, as can be seen in the LTI Deep Linking 1.0 specification. If the input does not match, a JSON-LD processor can be used to make the input compliant.
Serialisation
Convert Content-Item message objects to their serialised JSON representations:
Output:
Framework integration
We provide integration with Laravel that simplifies use of this package.
License
This package is released under the GNU General Public License 3.0. See the
LICENSE
file for more information.
All versions of edlib-resource-kit with dependencies
cerpus/pubsub Version ^1.0
php-http/discovery Version ^1.14.1
psr/http-client Version ^1.0
psr/http-client-implementation Version ^1.0
psr/http-factory Version ^1.0
psr/http-factory-implementation Version ^1.0