This is a Symfony bundle that implements the Libero content API.
Using Composer you can add the bundle as a dependency:
composer require libero/content-api-bundle
If you're not using Symfony Flex, you'll need to enable the bundle in your application.
Configure your application to add one (or more) content APIs:
services:
Libero\ContentApiBundle\Adapter\NullItems: ~
content_api:
services:
research-articles:
items: Libero\ContentApiBundle\Adapter\NullItems
blog-articles:
items: Libero\ContentApiBundle\Adapter\NullItems
And add the following to your routing file:
content_api:
resource: .
type: content_api
This example will create two content APIs, with the prefixes research-articles
and blog-articles
.
- Report a bug or request a feature on GitHub.
- Ask a question on the Libero Community Slack.