Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

libero/content-api-bundle

ContentApiBundle

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

About

Libero content API implementation for Symfony

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •