Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terminal42/webling-bundle
Symfony Bundle for our Webling API client
https://github.com/terminal42/webling-bundle
api symfony2-bundle webling
Last synced: 23 days ago
JSON representation
Symfony Bundle for our Webling API client
- Host: GitHub
- URL: https://github.com/terminal42/webling-bundle
- Owner: terminal42
- License: mit
- Created: 2015-11-03T14:43:40.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2021-06-03T13:19:45.000Z (over 3 years ago)
- Last Synced: 2024-07-05T12:05:20.972Z (6 months ago)
- Topics: api, symfony2-bundle, webling
- Language: PHP
- Homepage:
- Size: 17.6 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# terminal42/webling-bundle
A Symfony bundle for [our webling.ch API client](https://github.com/terminal42/webling-api).
This bundle is currently used for our own projects and might not support all cases.
Feel free to open issues or pull requests for questions or feature requests.## Installation
```bash
$ composer.phar require terminal42/webling-bundle ^2.0@dev
```## Configuration
The following config options are available (usually add to `app/config/config.yml`).
```yaml
terminal42_webling:
subdomain: "" # Mandatory; Your Webling subdomain
api_key: "" # Mandatory; Your API key
api_version: ~ # Optional; Defaults to the API version in EntityManager (v1)
entity_factory: ~ # Optional; Replace default class to create custom entity instances
```## Available services
The bundle will provide services for all repositories and some more (see `services.xml`).
The useful ones:- `terminal42_webling.entity_manager`
preconfigured with the configuration (see above).
- `terminal42_webling.repository.member`
to find and fetch members.
- `terminal42_webling.repository.membergroup`
to find and fetch member groups.
- `terminal42_webling.repository.article`
to find and fetch articles.
- `terminal42_webling.repository.articlegroup`
to find and fetch article groups.
- `terminal42_webling.repository.document`
to find and fetch documents.
- `terminal42_webling.repository.documentgroup`
to find and fetch document groups.