markup / contentful
A client library to integrate with the Contentful APIs (Content Delivery and Content Management) for PHP 5.6+.
Requires
- php: >=7.1
- guzzlehttp/guzzle: ^6
- guzzlehttp/promises: ^1.1
- psr/cache: ~1.0.0
- psr/http-message: ^1.0.1
Requires (Dev)
- mockery/mockery: ^1
- phpstan/phpstan-shim: 0.11.5
- phpunit/phpunit: ^7.5
- symfony/phpunit-bridge: ^4.2
Conflicts
- hhvm: *
This package is auto-updated.
Last update: 2026-06-08 02:05:07 UTC
README
Provides integrations with Contentful APIs (Delivery and Preview) for PHP 7.1+.
There is an official Contentful PHP SDK now (contentful/contentful) - so use what makes sense for you. This package has been in large-scale production for over two years now, and I am focusing on making it the fastest client available for fetching Contentful data.
Previous aspirations to integrate with Contentful's Content Management API are now dropped - please look to Contentful to support that.
Documentation
I know this is sorely missing - mea culpa. Docs will be forthcoming.