2017 © Pedro Peláez
 

library laravel

Integrates the Contentful PHP SDK with Laravel.

image

contentful/laravel

Integrates the Contentful PHP SDK with Laravel.

  • Monday, June 25, 2018
  • by realityking
  • Repository
  • 27 Watchers
  • 21 Stars
  • 19,064 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 10 Forks
  • 0 Open issues
  • 7 Versions
  • 15 % Grown

The README.md

Contentful Laravel Package

Packagist PHP from Packagist Packagist , (*1)

This library provides an easy-to-use integration between the Laravel framework and the Contentful Delivery SDK. It requires PHP 8.0 and up., (*2)

Setup

Add this package to your application by using Composer and executing the following command:, (*3)

``` bash composer require contentful/laravel, (*4)


Add the service provider to the `providers` array in `config/app.php`: ``` php 'providers' => [ Contentful\Laravel\ContentfulServiceProvider::class, ],

Configuration

Publish the config file:, (*5)

sh php artisan vendor:publish --provider="Contentful\Laravel\ContentfulServiceProvider", (*6)

This will add contentful.php to your /config folder. Next, add your space ID and API key to your .env file:, (*7)

CONTENTFUL_SPACE_ID="cfexampleapi"
CONTENTFUL_DELIVERY_TOKEN="b4c0n73n7fu1"

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., (*8)

License

Copyright (c) 2015-2019 Contentful GmbH. Code released under the MIT license. See LICENSE for further details., (*9)

The Versions

25/06 2018

dev-master

9999999-dev

Integrates the Contentful PHP SDK with Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

25/06 2018

3.0.0

3.0.0.0

Integrates the Contentful PHP SDK with Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

03/08 2017

dev-fix/readme

dev-fix/readme

Integrates the Contentful PHP SDK with Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

13/06 2017

2.0.0

2.0.0.0

Integrates the Contentful PHP SDK with Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

26/04 2017

1.0.0

1.0.0.0

Integrates the Contentful PHP SDK with Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

12/04 2017

0.8.0-beta

0.8.0.0-beta

Integrates the Contentful PHP SDK with Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

05/04 2017

0.6.0-beta

0.6.0.0-beta

Integrates the Contentful PHP SDK with Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires