All Projects → contentful → ContentfulBundle

contentful / ContentfulBundle

Licence: MIT license
Symfony Bundle for the Contentful SDK.

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects
shell
77523 projects

Projects that are alternatives of or similar to ContentfulBundle

connect-bundle
No description or website provided.
Stars: ✭ 35 (+20.69%)
Mutual labels:  symfony-bundle
breadcrumb-bundle
Symfony bundle for easy breadcrumbs management
Stars: ✭ 26 (-10.34%)
Mutual labels:  symfony-bundle
phpfastcache-bundle
The symfony 3/Flex bundle for PhpFastCache integrating a phpfastcache service, a twig cache tag and a powerfull cache profiler integrated to the symfony profile
Stars: ✭ 19 (-34.48%)
Mutual labels:  symfony-bundle
symbok-bundle
Symfony annotations bundle
Stars: ✭ 50 (+72.41%)
Mutual labels:  symfony-bundle
CmsBundle
Super-lightweight CMS bundle for Symfony
Stars: ✭ 52 (+79.31%)
Mutual labels:  symfony-bundle
firebase-bundle
A Symfony Bundle for the Firebase PHP Admin SDK
Stars: ✭ 112 (+286.21%)
Mutual labels:  symfony-bundle
hashids-bundle
Integrates hashids/hashids in a Symfony project
Stars: ✭ 43 (+48.28%)
Mutual labels:  symfony-bundle
OpcacheBundle
Displays the PHP OPcache status in the Symfony profiler toolbar.
Stars: ✭ 21 (-27.59%)
Mutual labels:  symfony-bundle
LiipSoapRecorderBundle
[DEPRECATED] Recorder/Player for SOAP communications
Stars: ✭ 12 (-58.62%)
Mutual labels:  symfony-bundle
socketio
No description or website provided.
Stars: ✭ 23 (-20.69%)
Mutual labels:  symfony-bundle
RapidFormBundle
Create Symfony forms at record speed using PHP 8 attributes!
Stars: ✭ 33 (+13.79%)
Mutual labels:  symfony-bundle
CoopTilleulsSyliusClickNCollectPlugin
Sell and deliver securely during the COVID-19 pandemic!
Stars: ✭ 77 (+165.52%)
Mutual labels:  symfony-bundle
BeelabTagBundle
🏷 A simple implementation of tags for Symfony and Doctrine ORM
Stars: ✭ 45 (+55.17%)
Mutual labels:  symfony-bundle
NucleosDompdfBundle
📜 This bundle provides a wrapper for using dompdf inside symfony.
Stars: ✭ 29 (+0%)
Mutual labels:  symfony-bundle
facade-bundle
Support Facades for Symfony service
Stars: ✭ 17 (-41.38%)
Mutual labels:  symfony-bundle
MultipartUploadBundle
Symfony multipart/related/mixed/alternative content type handler (rfc1341).
Stars: ✭ 21 (-27.59%)
Mutual labels:  symfony-bundle
awsBundle
Symfony AWS Bundle (supports Symfony 2, 3 and 4)
Stars: ✭ 18 (-37.93%)
Mutual labels:  symfony-bundle
wordpress-bundle
Use Wordpress and Symfony together using a Symfony bundle
Stars: ✭ 30 (+3.45%)
Mutual labels:  symfony-bundle
queue-bundle
Symfony Queue Bundle
Stars: ✭ 31 (+6.9%)
Mutual labels:  symfony-bundle
the-example-app.py
Example app for Contentful in Python
Stars: ✭ 17 (-41.38%)
Mutual labels:  contentful

ContentfulBundle

Packagist PHP from Packagist CircleCI Packagist

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

Symfony 4

// config/bundles.php
return [
    // ...
    Contentful\ContentfulBundle\ContentfulBundle::class => ['dev' => true],
    // ...
];

Symfony 3

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Contentful\ContentfulBundle\ContentfulBundle(),
        // ...
    );
}

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

Getting Started Tutorial

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-2017 Contentful GmbH. Code released under the MIT license. See LICENSE for further details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].