https://github.com/koala-framework/kwc-content-api
Content API for Kwc
https://github.com/koala-framework/kwc-content-api
Last synced: about 1 year ago
JSON representation
Content API for Kwc
- Host: GitHub
- URL: https://github.com/koala-framework/kwc-content-api
- Owner: koala-framework
- License: bsd-2-clause
- Created: 2018-03-26T13:52:39.000Z (about 8 years ago)
- Default Branch: 1.0
- Last Pushed: 2022-03-17T08:52:21.000Z (over 4 years ago)
- Last Synced: 2025-05-31T16:56:59.770Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 17.6 KB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Content API
## Installation
* Add AppBundle to `AppKernel.php`
public function registerBundles()
{
$bundles = array(
...
new Kwc\ContentApiBundle\KwcContentApiBundle()
);
...
}
* Add routing config to `routing.yml`
kwc_content_api:
resource: "@KwcContentApiBundle/Resources/config/routing.yml"
prefix: /
* Add components to be exported to whitelist in `config.yml`
kwc_content_api:
export_components:
- Kwc_Paragraphs_Component
- Kwc_Basic_Headline_Component