PHPackages                             digiaonline/lumen-contentful-sync - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. digiaonline/lumen-contentful-sync

AbandonedArchivedLibrary[API Development](/categories/api)

digiaonline/lumen-contentful-sync
=================================

A framework for synchronizing content from Contentful to a Lumen API

4.2.0(4y ago)321.3k1MITPHPPHP &gt;=7.1

Since Jan 12Pushed 3y ago6 watchersCompare

[ Source](https://github.com/digiaonline/lumen-contentful-sync)[ Packagist](https://packagist.org/packages/digiaonline/lumen-contentful-sync)[ RSS](/packages/digiaonline-lumen-contentful-sync/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependencies (7)Versions (15)Used By (0)

lumen-contentful-sync
=====================

[](#lumen-contentful-sync)

[![Test](https://github.com/digiaonline/lumen-contentful-sync/actions/workflows/test.yml/badge.svg)](https://github.com/digiaonline/lumen-contentful-sync/actions/workflows/test.yml)[![Coverage Status](https://camo.githubusercontent.com/870f7b785157429dcf72a2b97c8a6cd8c06e521be5175725b68994cf533fd73c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f64696769616f6e6c696e652f6c756d656e2d636f6e74656e7466756c2d73796e632f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/digiaonline/lumen-contentful-sync?branch=main)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bf59988575b9e7560b9de5c11462164f4622fd5ac27f62551cbb96e472ac7854/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64696769616f6e6c696e652f6c756d656e2d636f6e74656e7466756c2d73796e632f6261646765732f7175616c6974792d73636f72652e706e673f623d6d61696e)](https://scrutinizer-ci.com/g/digiaonline/lumen-contentful-sync/?branch=main)[![Latest Stable Version](https://camo.githubusercontent.com/540a91ab86020fd1858155fe4e6ee45d3991974a8af32aa361cade203aaa1987/68747470733a2f2f706f7365722e707567782e6f72672f64696769616f6e6c696e652f6c756d656e2d636f6e74656e7466756c2d73796e632f762f737461626c65)](https://packagist.org/packages/digiaonline/lumen-contentful-sync)[![Total Downloads](https://camo.githubusercontent.com/a979754901b326c1618b9bd06eef04ce441f854b1026f5debdaf1a2f7f07af16/68747470733a2f2f706f7365722e707567782e6f72672f64696769616f6e6c696e652f6c756d656e2d636f6e74656e7466756c2d73796e632f646f776e6c6f616473)](https://packagist.org/packages/digiaonline/lumen-contentful-sync)[![License](https://camo.githubusercontent.com/96087f10f3e438d01e09fe1c44091d7276ba3c8a2e29a2c15830dcdc1c9838b8/68747470733a2f2f706f7365722e707567782e6f72672f64696769616f6e6c696e652f6c756d656e2d636f6e74656e7466756c2d73796e632f6c6963656e7365)](https://packagist.org/packages/digiaonline/lumen-contentful-sync)

Introduction
------------

[](#introduction)

This library provides a powerful abstraction on top of [digiaonline/lumen-contentful](https://github.com/digiaonline/lumen-contentful) with the goal of making it easier to synchronize content from Contentful to your application.

### Features

[](#features)

- console commands for synchronizing entries and assets
- a controller for handling webhooks
- a middleware for transparently authenticating webhook requests
- a middleware for proper New Relic transaction name instrumentation for webhook requests
- asynchronous processing support by using jobs

### Requirements

[](#requirements)

- PHP &gt;= 7.1

Installation
------------

[](#installation)

1. Start by adding the library as a dependency to your application:

```
composer require digiaonline/lumen-contentful-sync
```

2. Copy `config/contentfulSync.php` to your configuration directory. There is only one mandatory configuration key - `content_types`. This array should contain a list of all the content model IDs you have in your Contentful space, e.g.:

```
