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

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

contentful/core
===============

Foundation library for Contentful PHP SDKs

4.0.2(2y ago)173.6M—6.6%217MITPHPPHP ^8.0CI passing

Since Feb 28Pushed 1mo ago8 watchersCompare

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

READMEChangelog (10)Dependencies (10)Versions (54)Used By (7)

contentful-core.php
===================

[](#contentful-corephp)

[![Packagist](https://camo.githubusercontent.com/e6a83140e698cb0f859ad6c488063ea5a58fe872a4d16db9fa84d1597f2af380/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e74656e7466756c2f636f72652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/core)[![PHP from Packagist](https://camo.githubusercontent.com/2d14b108d98682738195b34631e1ed753f5f638e92339db2a22f4b0921a8cdc3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f6e74656e7466756c2f636f72652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/core)[![Packagist](https://camo.githubusercontent.com/3076bea41a9d85f613dfb870220910e8424471557bb2f86d650313256ba116f9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f6e74656e7466756c2f636f6e74656e7466756c2d636f72652e7068702e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/contentful/core)[![CI](https://github.com/contentful/contentful-core.php/actions/workflows/ci.yml/badge.svg)](https://github.com/contentful/contentful-core.php/actions/workflows/ci.yml)

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.

Requirements
------------

[](#requirements)

This package requires PHP 8.0 or above.

About
-----

[](#about)

This package provides foundation components for both [Delivery SDK](https://github.com/contentful/contentful.php) and [Management SDK](https://github.com/contentful/contentful-management.php), and it is not meant for being used from third party packages.

Development with Dev Containers
-------------------------------

[](#development-with-dev-containers)

For a reproducible local setup, this repository includes a `.devcontainer` configuration and GitHub Actions uses the same setup for CI.

In Visual Studio Code, open the repository and run `Dev Containers: Reopen in Container`.

Without Visual Studio Code, install Docker and the Dev Container CLI (`npm install -g @devcontainers/cli`), then run:

```
devcontainer up --workspace-folder .
devcontainer exec --workspace-folder . bash
```

After the container is ready, run:

```
composer test-quick-fail
```

See [CONTRIBUTING.md](CONTRIBUTING.md) for the full contributor workflow.

License
-------

[](#license)

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

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance60

Regular maintenance activity

Popularity54

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor2

2 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 ~61 days

Recently: every ~199 days

Total

38

Last Release

734d ago

Major Versions

1.5.0 → 2.0.0-beta12018-09-18

2.2.8 → 3.0.02020-03-03

3.2.0 → 4.0.02022-12-05

PHP version history (5 changes)1.0.0-beta1PHP ^5.6|^7.0

2.0.0-beta1PHP ^7.0

3.0.0PHP ^7.2

3.1.0PHP ^7.2|^8.0

4.0.0PHP ^8.0

### 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 (88 commits)")[![Sebb767](https://avatars.githubusercontent.com/u/4084001?v=4)](https://github.com/Sebb767 "Sebb767 (60 commits)")[![pgrigoruta](https://avatars.githubusercontent.com/u/1782518?v=4)](https://github.com/pgrigoruta "pgrigoruta (34 commits)")[![t-col](https://avatars.githubusercontent.com/u/104802020?v=4)](https://github.com/t-col "t-col (6 commits)")[![whitelisab](https://avatars.githubusercontent.com/u/62958907?v=4)](https://github.com/whitelisab "whitelisab (6 commits)")[![philipnewcomer](https://avatars.githubusercontent.com/u/1446874?v=4)](https://github.com/philipnewcomer "philipnewcomer (4 commits)")[![pklink](https://avatars.githubusercontent.com/u/753350?v=4)](https://github.com/pklink "pklink (3 commits)")[![mmenozzi](https://avatars.githubusercontent.com/u/1199914?v=4)](https://github.com/mmenozzi "mmenozzi (2 commits)")[![jjolton-contentful](https://avatars.githubusercontent.com/u/145477871?v=4)](https://github.com/jjolton-contentful "jjolton-contentful (2 commits)")[![enoelboostmi](https://avatars.githubusercontent.com/u/32899943?v=4)](https://github.com/enoelboostmi "enoelboostmi (2 commits)")[![michaelphamcf](https://avatars.githubusercontent.com/u/211397923?v=4)](https://github.com/michaelphamcf "michaelphamcf (2 commits)")[![yadakhov](https://avatars.githubusercontent.com/u/146636?v=4)](https://github.com/yadakhov "yadakhov (1 commits)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (1 commits)")[![ethan-ozelius-contentful](https://avatars.githubusercontent.com/u/158083968?v=4)](https://github.com/ethan-ozelius-contentful "ethan-ozelius-contentful (1 commits)")[![forged-request](https://avatars.githubusercontent.com/u/104775415?v=4)](https://github.com/forged-request "forged-request (1 commits)")[![Khaledgarbaya](https://avatars.githubusercontent.com/u/1156093?v=4)](https://github.com/Khaledgarbaya "Khaledgarbaya (1 commits)")[![kwivix](https://avatars.githubusercontent.com/u/1106023?v=4)](https://github.com/kwivix "kwivix (1 commits)")[![tspencer244](https://avatars.githubusercontent.com/u/15922667?v=4)](https://github.com/tspencer244 "tspencer244 (1 commits)")[![brettmc](https://avatars.githubusercontent.com/u/4978962?v=4)](https://github.com/brettmc "brettmc (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[google/auth

Google Auth Library for PHP

1.4k272.7M162](/packages/google-auth)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)

PHPackages © 2026

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