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

ActiveLibrary[API Development](/categories/api)

contentful/laravel
==================

Integrates the Contentful PHP SDK with Laravel.

10.0.0(2mo ago)46528.8k↓37.7%31[5 issues](https://github.com/contentful/contentful-laravel/issues)2MITPHPPHP ^8.2CI passing

Since Apr 5Pushed 1mo ago31 watchersCompare

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

READMEChangelog (10)Dependencies (12)Versions (31)Used By (2)

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)[![Packagist](https://camo.githubusercontent.com/96d43fc008f27994eb4503a2fdf3451f8682390b74b28ded7a17af2cb86b373d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f6e74656e7466756c2f636f6e74656e7466756c2d6c61726176656c2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/laravel)[![](https://camo.githubusercontent.com/80679bf7bbd36bacb642721f6485294853a876c6efe02fe3a19723660c39a311/68747470733a2f2f636972636c6563692e636f6d2f67682f636f6e74656e7466756c2f636f6e74656e7466756c2d6c61726176656c2e7376673f7374796c653d736869656c64)](https://camo.githubusercontent.com/80679bf7bbd36bacb642721f6485294853a876c6efe02fe3a19723660c39a311/68747470733a2f2f636972636c6563692e636f6d2f67682f636f6e74656e7466756c2f636f6e74656e7466756c2d6c61726176656c2e7376673f7374796c653d736869656c64)

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

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.

---

Documentation &amp; Agent Context
---------------------------------

[](#documentation--agent-context)

DocumentWhat it covers[ARCHITECTURE.md](./ARCHITECTURE.md)Internal structure, data flow, integration points, configuration reference[CONTRIBUTING.md](./CONTRIBUTING.md)Development setup, test commands, commit conventions, release process[docs/ADRs/](./docs/ADRs/)Why things look the way they do — key decisions documented[AGENTS.md](./AGENTS.md)Agent-first context directory — read this first if you're an AI tool[.bito/guidelines/](./.bito/guidelines/)PR review rules and domain invariants

###  Health Score

68

—

FairBetter than 99% of packages

Maintenance85

Actively maintained with recent releases

Popularity51

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~149 days

Recently: every ~294 days

Total

23

Last Release

84d ago

Major Versions

5.0.0 → 6.0.02020-03-24

6.0.1 → 7.0.02020-05-14

7.0.2 → 8.0.02020-09-15

8.2.0 → 9.0.02023-01-16

9.0.3 → 10.0.02026-04-09

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

3.0.0PHP ^7.0

6.0.0PHP ^7.2

8.1.0PHP ^7.2|^8.0

9.0.0PHP ^8.0

10.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6caf49052fd43966f7e5c1a6e78e4a9830f9dd014470be9f5da0736d141c0ea5?d=identicon)[mariobodemann](/maintainers/mariobodemann)

![](https://www.gravatar.com/avatar/c0d178c1c40db8c7e92e9fe71e0f2ef461d683679ae69275adf6661c8f3b8b67?d=identicon)[contentful](/maintainers/contentful)

---

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)")[![pgrigoruta](https://avatars.githubusercontent.com/u/1782518?v=4)](https://github.com/pgrigoruta "pgrigoruta (21 commits)")[![Sebb767](https://avatars.githubusercontent.com/u/4084001?v=4)](https://github.com/Sebb767 "Sebb767 (21 commits)")[![chasepoirier](https://avatars.githubusercontent.com/u/23040747?v=4)](https://github.com/chasepoirier "chasepoirier (10 commits)")[![tylerpina](https://avatars.githubusercontent.com/u/214021765?v=4)](https://github.com/tylerpina "tylerpina (9 commits)")[![jjolton-contentful](https://avatars.githubusercontent.com/u/145477871?v=4)](https://github.com/jjolton-contentful "jjolton-contentful (2 commits)")[![mtinsley](https://avatars.githubusercontent.com/u/6854275?v=4)](https://github.com/mtinsley "mtinsley (2 commits)")[![whitelisab](https://avatars.githubusercontent.com/u/62958907?v=4)](https://github.com/whitelisab "whitelisab (2 commits)")[![mgoudy91](https://avatars.githubusercontent.com/u/1434735?v=4)](https://github.com/mgoudy91 "mgoudy91 (2 commits)")[![kyllagdrgn](https://avatars.githubusercontent.com/u/3519721?v=4)](https://github.com/kyllagdrgn "kyllagdrgn (2 commits)")[![benjaminhirsch](https://avatars.githubusercontent.com/u/2293943?v=4)](https://github.com/benjaminhirsch "benjaminhirsch (1 commits)")[![ZengineChris](https://avatars.githubusercontent.com/u/1749043?v=4)](https://github.com/ZengineChris "ZengineChris (1 commits)")[![camaech](https://avatars.githubusercontent.com/u/977957?v=4)](https://github.com/camaech "camaech (1 commits)")[![forged-request](https://avatars.githubusercontent.com/u/104775415?v=4)](https://github.com/forged-request "forged-request (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)")[![matthew-contentful](https://avatars.githubusercontent.com/u/52446913?v=4)](https://github.com/matthew-contentful "matthew-contentful (1 commits)")[![michaelphamcf](https://avatars.githubusercontent.com/u/211397923?v=4)](https://github.com/michaelphamcf "michaelphamcf (1 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M134](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M63](/packages/knuckleswtf-scribe)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)[weapnl/laravel-junction

Easily create a REST API with extended functionality, such as eager loading, searching, filtering, and more.

2214.2k](/packages/weapnl-laravel-junction)

PHPackages © 2026

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