dansmaculotte / laravel-contentful
Integrates the Contentful PHP SDK with Laravel.
Requires
- php: ^7.2
- contentful/contentful: ^4.0
- contentful/core: ^2.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.15
- orchestra/testbench: ^3.8|^4.0
- phpunit/phpunit: ^8.2
This package is auto-updated.
Last update: 2020-01-29 17:37:08 UTC
README
This library provides an easy-to-use integration between the Laravel framework and the Contentful Delivery SDK.
Installation
Requirements
- PHP 7.2
You can install the package via composer:
composer require dansmaculotte/laravel-contentful
The package will automatically register itself.
To publish the config file to config/contentful.php run:
php artisan vendor:publish --provider="DansMaCulotte\Contentful\ContentfulServiceProvider"
Usage
Configure your contentful delivery token and space id in config/contenful.php
.
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.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.