libero/content-api-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Implements the Libero content API

Installs: 238

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 2

Type:symfony-bundle

v0.1.3 2019-05-02 12:14 UTC

This package is auto-updated.

Last update: 2020-08-31 00:45:27 UTC


README

Build Status

This is a Symfony bundle that implements the Libero content API.

Getting started

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.

Getting help