contentful/core
Core components shared by Contentful’s PHP Delivery and Management SDKs. Provides foundational utilities and abstractions for interacting with Contentful APIs. Requires PHP 8.0+. Intended for internal SDK use, not for direct third‑party consumption.
Accepted
Prior to this change, each PHP SDK had ad-hoc CI setup using CircleCI with per-job PHP images, and local development required manually installing the correct PHP version, Composer, and extensions. This led to "works on my machine" problems, divergence between local and CI environments, and friction for new contributors and agents trying to reproduce builds.
DX-822 was filed to standardize developer environments across all PHP SDK repos. The goal: a single, repo-local devcontainer configuration that runs identically in VS Code, terminal (via the devcontainer CLI), and GitHub Actions CI.
Each PHP SDK repo (including this one) received a .devcontainer/ configuration. GitHub Actions CI was updated to use the same devcontainer image via devcontainer up + devcontainer exec steps. This ensures local and CI environments are identical by construction. The PR adding this was #67, announced in prd-alpine-chat (2026-03-21).
The PHP version for devcontainer jobs can be controlled via the PHP_VERSION environment variable passed to devcontainer up.
npm install -g [@devcontainers](https://github.com/devcontainers)/cli).composer install, phpstan, or php-cs-fixer directly on the host — always use devcontainer exec.How can I help you explore Laravel packages today?