contentful/contentful-bundle
Composer 安装命令:
composer require contentful/contentful-bundle
包简介
A Symfony Bundle to integrate the Contentful CDA SDK
关键字:
README 文档
README
Symfony Bundle for the Contentful Delivery SDK. This bundle requires PHP 7.2 or higher or PHP 8.0 or higher, and Symfony 3.4 or higher. It also requires Twig to be installed.
Setup
Add this package to your application by using Composer and executing the following command:
composer require contentful/contentful-bundle
Add ContentfulBundle to your application
// config/bundles.php return [ // ... Contentful\ContentfulBundle\ContentfulBundle::class => ['dev' => true], // ... ];
Configuration example
The simplest configuration includes just the space ID and token. Add these settings to either app/config.yml (Symfony 3) or create config/packages/contentful.yaml (Symfony 4):
contentful: delivery: main: space: cfexampleapi token: b4c0n73n7fu1
You can also configure multiple clients and enable the preview mode:
contentful: delivery: main: default: true space: cfexampleapi token: b4c0n73n7fu1 preview: space: cfexampleapi token: b4c0n73n7fu1 api: preview
Documentation
What is Contentful?
Contentful 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
Copyright (c) 2015-2023 Contentful GmbH. Code released under the MIT license. See LICENSE for further details.
For Agents & Contributors
| Document | What it covers |
|---|---|
| ARCHITECTURE.md | Internal structure, data flows, integration points, configuration reference |
| CONTRIBUTING.md | Development setup, test commands, release process, CI jobs |
| AGENTS.md | Agent-first context: sharp edges, invariants, quick reference |
| docs/ADRs/ | Why architectural decisions were made |
| docs/specs/ | Active implementation specs |
| .bito.yaml | Bito PR review configuration |
contentful/contentful-bundle 适用场景与选型建议
contentful/contentful-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 607.63k 次下载、GitHub Stars 达 33, 最近一次更新时间为 2016 年 02 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「cms」 「sdk」 「contentful」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 contentful/contentful-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 contentful/contentful-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 contentful/contentful-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
The bundle for easy using json-rpc api on your project
Set Links with a specific language parameter
Supercharged text field validation.
Bundle Symfony DaplosBundle
Integrate with Snipcart.
统计信息
- 总下载量: 607.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 33
- 点击次数: 16
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-02-22