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 6d 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 64% 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

2222d 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

[contentful/contentful-bundle

A Symfony Bundle to integrate the Contentful CDA SDK

33574.4k2](/packages/contentful-contentful-bundle)[openai-php/symfony

Symfony Bundle for OpenAI

215715.5k3](/packages/openai-php-symfony)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[cravler/maxmind-geoip-bundle

Bundle integrating MaxMind GeoIP2 database into symfony application

27615.8k2](/packages/cravler-maxmind-geoip-bundle)[markup/contentful

A client library to integrate with the Contentful APIs (Content Delivery and Content Management) for PHP 5.6+.

1284.9k2](/packages/markup-contentful)[ufo-tech/json-rpc-sdk-bundle

The Symfony bundle for simple usage Json-RPC api with dynamic SDK

172.5k](/packages/ufo-tech-json-rpc-sdk-bundle)

PHPackages © 2026

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