PHPackages                             markup/contentful-sdk-bridge - 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. markup/contentful-sdk-bridge

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

markup/contentful-sdk-bridge
============================

A small bridge library to convert resources from the official Contentful SDK into resources compatible with the markup/contentful library.

0.2.0(6y ago)01.6kMITPHPPHP ^7.1

Since Apr 16Pushed 6y ago3 watchersCompare

[ Source](https://github.com/usemarkup/contentful-sdk-bridge)[ Packagist](https://packagist.org/packages/markup/contentful-sdk-bridge)[ RSS](/packages/markup-contentful-sdk-bridge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

contentful-sdk-bridge
=====================

[](#contentful-sdk-bridge)

A small bridge library to convert resources from the official Contentful SDK into resources compatible with the markup/contentful library.

[![Build Status](https://camo.githubusercontent.com/e42d74a967a9b8502aeed8855f333056b6e94df113c8eac1c7b0ba16cf64d92a/68747470733a2f2f6170692e7472617669732d63692e6f72672f7573656d61726b75702f636f6e74656e7466756c2d73646b2d6272696467652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/usemarkup/contentful-sdk-bridge)

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

[](#installation)

The Markup contentful-sdk-bridge bundle can be installed via [Composer](http://getcomposer.org) by requiring the`markup/contentful-sdk-bridge` package in your project's `composer.json`:

```
{
    "require": {
        "markup/contentful-sdk-bridge": "0.1"
    }
}
```

Usage
-----

[](#usage)

The package provides some simple adapters enabling resources emitted from the [official Contentful SDK](https://github.com/contentful/contentful.php) to be used as if they are resources emitted from [Markup's Contentful library](https://github.com/usemarkup/contentful).

Examples:

```
use Markup\ContentfulSdkBridge\AdaptedAsset;
use Markup\ContentfulSdkBridge\AdaptedContentType;
use Markup\ContentfulSdkBridge\AdaptedEntry;

$space = 'content_space';
$locale = 'en-US';

/** @var \Contentful\Delivery\Resource\Entry $sdkEntry */

$markupEntry = new AdaptedEntry(
    $sdkEntry,
    $locale,
    $space
);

/** @var \Contentful\Delivery\Resource\Asset $sdkAsset */

$markupAsset = new AdaptedAsset(
    $sdkAsset,
    $locale
);

/** @var \Contentful\Delivery\Resource\ContentType $sdkContentType */

$markupContentType = new AdaptedContentType($sdkContentType);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~34 days

Total

3

Last Release

2510d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c89b3982be4e6cd23e749f617e809147f98aca5f45bf24c3b5195598a4c4bfd?d=identicon)[calumbrodie](/maintainers/calumbrodie)

![](https://www.gravatar.com/avatar/67cf8ed88be79605642722cbc5902206c2e51adf755f70cfff04b2c7e5abc9ce?d=identicon)[shieldo](/maintainers/shieldo)

---

Top Contributors

[![shieldo](https://avatars.githubusercontent.com/u/97280?v=4)](https://github.com/shieldo "shieldo (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/markup-contentful-sdk-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/markup-contentful-sdk-bridge/health.svg)](https://phpackages.com/packages/markup-contentful-sdk-bridge)
```

PHPackages © 2026

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