PHPackages                             atolye15/contentful-bundle - 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. [API Development](/categories/api)
4. /
5. atolye15/contentful-bundle

ActiveSymfony-bundle[API Development](/categories/api)

atolye15/contentful-bundle
==========================

A Symfony Bundle to integrate the Contentful CDA SDK

4.1.2(6y ago)1128MITPHPPHP ^7.0

Since Feb 22Pushed 6y agoCompare

[ Source](https://github.com/atolye15/ContentfulBundle)[ Packagist](https://packagist.org/packages/atolye15/contentful-bundle)[ RSS](/packages/atolye15-contentful-bundle/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (6)Versions (15)Used By (0)

ContentfulBundle
================

[](#contentfulbundle)

[![Packagist](https://camo.githubusercontent.com/2d262111cc6c612d6035e7f6ad33ee9568b32bd54d9729786b3bcffe19a00123/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e74656e7466756c2f636f6e74656e7466756c2d62756e646c652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/contentful-bundle)[![PHP from Packagist](https://camo.githubusercontent.com/663a82caff4c2350fe51cc17d668163b50ae5ac330e2c8dd2e7bced8e80d433b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f6e74656e7466756c2f636f6e74656e7466756c2d62756e646c652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/contentful-bundle)[![Travis](https://camo.githubusercontent.com/6b392d9082b7deb32c70418dac0f0f6e6e8bb6849a84b718a0e95d47fc2f187d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6e74656e7466756c2f436f6e74656e7466756c42756e646c652e7376673f7374796c653d666f722d7468652d6261646765)](https://travis-ci.org/contentful/ContentfulBundle)[![Packagist](https://camo.githubusercontent.com/c9e8f2d4b2033a13a7a40c376b82bdccfcbd7fd2c28a4e1ee0edd7071bdd3429/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f6e74656e7466756c2f436f6e74656e7466756c42756e646c652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/contentful-bundle)

> Symfony Bundle for the Contentful Delivery SDK. This bundle requires PHP 7.0 or higher, and Symfony 3.4 or higher. It also requires Twig to be installed.

Setup
=====

[](#setup)

Add this package to your application by using [Composer](https://getcomposer.org/) and executing the following command:

```
composer require contentful/contentful-bundle
```

Add ContentfulBundle to your application
----------------------------------------

[](#add-contentfulbundle-to-your-application)

### Symfony 4

[](#symfony-4)

```
// config/bundles.php
return [
    // ...
    Contentful\ContentfulBundle\ContentfulBundle::class => ['dev' => true],
    // ...
];
```

### Symfony 3

[](#symfony-3)

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Contentful\ContentfulBundle\ContentfulBundle(),
        // ...
    );
}
```

Configuration example
---------------------

[](#configuration-example)

The simplest configuration includes just the space ID and token. Add these settings to either `app/config.yml` (Symfony 3) or create `config/packages/contentful.yaml` (Symfony 4):

```
contentful:
    delivery:
        main:
            space: cfexampleapi
            token: b4c0n73n7fu1
```

You can also configure multiple clients and enable the preview mode:

```
contentful:
    delivery:
        main:
            default: true
            space: cfexampleapi
            token: b4c0n73n7fu1
        preview:
            space: cfexampleapi
            token: b4c0n73n7fu1
            api: preview
```

Documentation
-------------

[](#documentation)

[Getting Started Tutorial](https://www.contentful.com/developers/docs/php/tutorials/getting-started-with-contentful-and-symfony/)

What is Contentful?
-------------------

[](#what-is-contentful)

[Contentful](https://www.contentful.com) provides a content infrastructure for digital teams to power content in websites, apps, and devices. Unlike a CMS, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship digital products faster.

License
-------

[](#license)

Copyright (c) 2015-2017 Contentful GmbH. Code released under the MIT license. See [LICENSE](LICENSE) for further details.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 56.3% 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 ~151 days

Recently: every ~259 days

Total

11

Last Release

2268d ago

Major Versions

0.8.0-beta → 1.0.02017-04-26

1.0.0 → 2.0.02017-06-14

2.0.0 → 3.0.02018-06-19

3.0.0 → 4.0.02018-12-05

PHP version history (2 changes)0.5.0-betaPHP &gt;=5.5.9

3.0.0PHP ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1424101?v=4)[Atölye15](/maintainers/atolye15)[@atolye15](https://github.com/atolye15)

---

Top Contributors

[![realityking](https://avatars.githubusercontent.com/u/628508?v=4)](https://github.com/realityking "realityking (67 commits)")[![dborsatto](https://avatars.githubusercontent.com/u/94651?v=4)](https://github.com/dborsatto "dborsatto (20 commits)")[![pgrigoruta](https://avatars.githubusercontent.com/u/1782518?v=4)](https://github.com/pgrigoruta "pgrigoruta (14 commits)")[![celikezer](https://avatars.githubusercontent.com/u/25508617?v=4)](https://github.com/celikezer "celikezer (7 commits)")[![tomaszhanc](https://avatars.githubusercontent.com/u/7013293?v=4)](https://github.com/tomaszhanc "tomaszhanc (5 commits)")[![matthew-contentful](https://avatars.githubusercontent.com/u/52446913?v=4)](https://github.com/matthew-contentful "matthew-contentful (1 commits)")[![yadakhov](https://avatars.githubusercontent.com/u/146636?v=4)](https://github.com/yadakhov "yadakhov (1 commits)")[![ilukac](https://avatars.githubusercontent.com/u/452964?v=4)](https://github.com/ilukac "ilukac (1 commits)")[![kobelobster](https://avatars.githubusercontent.com/u/3509557?v=4)](https://github.com/kobelobster "kobelobster (1 commits)")[![lenybernard](https://avatars.githubusercontent.com/u/618536?v=4)](https://github.com/lenybernard "lenybernard (1 commits)")[![mariobodemann](https://avatars.githubusercontent.com/u/1162562?v=4)](https://github.com/mariobodemann "mariobodemann (1 commits)")

---

Tags

symfonysdkcmscontentful

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/atolye15-contentful-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/atolye15-contentful-bundle/health.svg)](https://phpackages.com/packages/atolye15-contentful-bundle)
```

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[contentful/contentful-bundle

A Symfony Bundle to integrate the Contentful CDA SDK

33612.2k3](/packages/contentful-contentful-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29735.5k](/packages/sulu-skeleton)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11249.0k1](/packages/ecotone-symfony-bundle)

PHPackages © 2026

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