Laravel package for the Contentful CDA SDK.
Contentful is a content management platform for web applications, mobile apps and connected devices. It allows you to create, edit & manage content in the cloud and publish it anywhere via powerful API. Contentful offers tools for managing editorial teams and enabling cooperation between organizations.
The SDK requires at least PHP 5.5.9. PHP 7 is supported.
To add this package to your composer.json
and install it execute the following command:
php composer require contentful/laravel
Add the service provider to the providers
array in config/app.php
:
'providers' => [
Contentful\Laravel\ContentfulServiceProvider::class,
],
Publish the config file:
php artisan vendor:publish --provider="Contentful\Laravel\ContentfulServiceProvider"
This will add contentful.php
to your /config
folder. Next, open that file and add your space ID and API key.
Copyright (c) 2016-2017 Contentful GmbH. Code released under the MIT license. See LICENSE for further details.