PHPackages                             djam90/contentful-laravel - 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. djam90/contentful-laravel

ActiveLibrary[API Development](/categories/api)

djam90/contentful-laravel
=========================

Integrates the Contentful PHP SDK with Laravel.

4.2(6y ago)06MITPHPPHP ^7.0

Since Apr 5Pushed 6y agoCompare

[ Source](https://github.com/djam90/contentful-laravel)[ Packagist](https://packagist.org/packages/djam90/contentful-laravel)[ RSS](/packages/djam90-contentful-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (9)Used By (0)

Contentful Laravel Package
==========================

[](#contentful-laravel-package)

[![Packagist](https://camo.githubusercontent.com/7087add189b45e8ef6b2384aa664634154fb24932ceb5bfc889b28fc669a87d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e74656e7466756c2f6c61726176656c2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/laravel)[![PHP from Packagist](https://camo.githubusercontent.com/5045e17c3f69dc439fb5f3736914f2cac1ebdba17d9422ee719796c687542fc2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f6e74656e7466756c2f6c61726176656c2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/laravel)[![CircleCI branch](https://camo.githubusercontent.com/f9b72e910eb4cf3e2ffef21ef08aeee25743c7d684c6ef10946ae0c2a781c4e1/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f70726f6a6563742f6769746875622f636f6e74656e7466756c2f636f6e74656e7466756c2d6c61726176656c2f6d61737465722e7376673f7374796c653d666f722d7468652d6261646765)](https://circleci.com/gh/contentful/contentful-laravel)[![Packagist](https://camo.githubusercontent.com/96d43fc008f27994eb4503a2fdf3451f8682390b74b28ded7a17af2cb86b373d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f6e74656e7466756c2f636f6e74656e7466756c2d6c61726176656c2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/laravel)

> This library provides an easy-to-use integration between the Laravel framework and the Contentful Delivery SDK. It requires at least PHP 7.0.

Setup
-----

[](#setup)

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

```
composer require contentful/laravel
```

Add the service provider to the `providers` array in `config/app.php`:

```
'providers' => [
    Contentful\Laravel\ContentfulServiceProvider::class,
],
```

Configuration
-------------

[](#configuration)

Publish the config file:

```
php artisan vendor:publish --provider="Contentful\Laravel\ContentfulServiceProvider"
```

This will add `contentful.php` to your `/config` folder. Next, add your space ID and API key to your `.env` file:

```
CONTENTFUL_SPACE_ID="cfexampleapi"
CONTENTFUL_DELIVERY_TOKEN="b4c0n73n7fu1"

```

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-2019 Contentful GmbH. Code released under the MIT license. See [LICENSE](LICENSE) for further details.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 51.5% 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 ~133 days

Recently: every ~215 days

Total

8

Last Release

2393d ago

Major Versions

0.8.0-beta → 1.0.02017-04-26

1.0.0 → 2.0.02017-06-13

2.0.0 → 3.0.02018-06-25

3.0.0 → 4.0.02018-11-12

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

3.0.0PHP ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/979271?v=4)[Daniel Twigg](/maintainers/djam90)[@djam90](https://github.com/djam90)

---

Top Contributors

[![dborsatto](https://avatars.githubusercontent.com/u/94651?v=4)](https://github.com/dborsatto "dborsatto (34 commits)")[![realityking](https://avatars.githubusercontent.com/u/628508?v=4)](https://github.com/realityking "realityking (23 commits)")[![kyllagdrgn](https://avatars.githubusercontent.com/u/3519721?v=4)](https://github.com/kyllagdrgn "kyllagdrgn (2 commits)")[![mtinsley](https://avatars.githubusercontent.com/u/6854275?v=4)](https://github.com/mtinsley "mtinsley (2 commits)")[![benjaminhirsch](https://avatars.githubusercontent.com/u/2293943?v=4)](https://github.com/benjaminhirsch "benjaminhirsch (1 commits)")[![yadakhov](https://avatars.githubusercontent.com/u/146636?v=4)](https://github.com/yadakhov "yadakhov (1 commits)")[![jevets](https://avatars.githubusercontent.com/u/1187075?v=4)](https://github.com/jevets "jevets (1 commits)")[![mariobodemann](https://avatars.githubusercontent.com/u/1162562?v=4)](https://github.com/mariobodemann "mariobodemann (1 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/djam90-contentful-laravel/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[echolabsdev/prism

A powerful Laravel package for integrating Large Language Models (LLMs) into your applications.

2.3k388.3k10](/packages/echolabsdev-prism)[contentful/laravel

Integrates the Contentful PHP SDK with Laravel.

44507.3k2](/packages/contentful-laravel)[sburina/laravel-whmcs-up

WHMCS API client and user provider for Laravel

271.3k](/packages/sburina-laravel-whmcs-up)

PHPackages © 2026

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