PHPackages                             cerpus/edlib-resource-kit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cerpus/edlib-resource-kit

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cerpus/edlib-resource-kit
=========================

Create resource types for Edlib

v0.5.0(3y ago)010.2k—0%[1 PRs](https://github.com/cerpus/php-edlib-resource-kit/pulls)1GPL-3.0-onlyPHPPHP 8.0.\*|8.1.\*|8.2.\*CI passing

Since Feb 24Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/cerpus/php-edlib-resource-kit)[ Packagist](https://packagist.org/packages/cerpus/edlib-resource-kit)[ Docs](https://edlib.com/)[ RSS](/packages/cerpus-edlib-resource-kit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (9)Versions (15)Used By (1)

Edlib Resource Kit
==================

[](#edlib-resource-kit)

[![codecov](https://camo.githubusercontent.com/447573b4124e849577078a47f5d0371a0ac6528744f617222ac14937adfa53b1/68747470733a2f2f636f6465636f762e696f2f6769746875622f6365727075732f7068702d65646c69622d7265736f757263652d6b69742f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d5a444f4b4345394e5041)](https://codecov.io/github/cerpus/php-edlib-resource-kit)

Create custom content types for [Edlib](https://edlib.com/).

Requirements
------------

[](#requirements)

- PHP 8.2, 8.3 or 8.4

Installation
------------

[](#installation)

```
composer require cerpus/edlib-resource-kit
```

Usage
-----

[](#usage)

Edlib is notified of new content via the [LTI Content-Item Message standard](http://www.imsglobal.org/specs/lticiv1p0/specification). Edlib Resource Kit provides message objects, mappers, and serialisers for working with Content-Item messages.

### Mapping

[](#mapping)

Map serialised Content-Item graphs to message objects:

```
use Cerpus\EdlibResourceKit\Lti\Lti11\Mapper\DeepLinking\ContentItemsMapper;

$mapper = new ContentItemsMapper();
$items = $mapper->map(serialize($items);

echo json_encode($serialized);
```

Output:

```
{
    "@context": "http://purl.imsglobal.org/ctx/lti/v1/ContentItem",
    "@graph": [
        {
            "@type": "LtiLinkItem",
            "mediaType": "application/vnd.ims.lti.v1.ltilink",
            "title": "My Cool LTI Content",
            "url": "https://example.com/my-lti-content"
        }
    ]
}
```

### Framework integration

[](#framework-integration)

We provide [integration with Laravel](https://github.com/cerpus/php-edlib-resource-kit-laravel) that simplifies use of this package.

License
-------

[](#license)

This package is released under the GNU General Public License 3.0. See the `LICENSE` file for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance46

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~71 days

Total

5

Last Release

1257d ago

PHP version history (2 changes)v0.1.0PHP 8.0.\*|8.1.\*

v0.5.0PHP 8.0.\*|8.1.\*|8.2.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c90acdd5f5be43c562112cef1f69ab98614691bc737089cb1becd9d6b22e046?d=identicon)[max\_edlib](/maintainers/max_edlib)

---

Top Contributors

[![emmachughes](https://avatars.githubusercontent.com/u/84008144?v=4)](https://github.com/emmachughes "emmachughes (21 commits)")[![chrieinv](https://avatars.githubusercontent.com/u/84850107?v=4)](https://github.com/chrieinv "chrieinv (7 commits)")[![maxmoeschinger](https://avatars.githubusercontent.com/u/15786838?v=4)](https://github.com/maxmoeschinger "maxmoeschinger (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cerpus-edlib-resource-kit/health.svg)

```
[![Health](https://phpackages.com/badges/cerpus-edlib-resource-kit/health.svg)](https://phpackages.com/packages/cerpus-edlib-resource-kit)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15224.3M65](/packages/opensearch-project-opensearch-php)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[anthropic-ai/sdk

Anthropic PHP SDK

129134.7k5](/packages/anthropic-ai-sdk)[shopware/app-php-sdk

Shopware App SDK for PHP

1577.8k1](/packages/shopware-app-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
