Accepted
The Contentful PHP Delivery SDK (contentful/contentful) is a standalone library with no Symfony-specific integration. Symfony applications need a way to configure, wire, and inject Contentful clients without boilerplate in each project. Two integration approaches exist:
services.yaml snippet that users copy into their projectsThe bundle pattern is the idiomatic Symfony approach for vendor integrations (DoctrineBundle, MonologBundle, etc.) and enables deep framework integration that a service snippet cannot provide.
Implement as a symfony-bundle (type in composer.json), extending Symfony\Component\HttpKernel\Bundle\Bundle. The bundle:
ContentfulExtension that processes a custom config tree (contentful.delivery.*)composer requirebundles.php linesymfony/framework-bundle (not just individual Symfony components)How can I help you explore Laravel packages today?