terminal42 / webling-bundle
Symfony bundle for our Webling API client
Fund package maintenance!
terminal42
Other
Installs: 450
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
Type:symfony-bundle
pkg:composer/terminal42/webling-bundle
Requires
- symfony/config: ~2.7 || ^3.0
- symfony/dependency-injection: ~2.7 || ^3.0
- symfony/http-kernel: ~2.7 || ^3.0
- terminal42/webling-api: ^1.0@dev
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2025-10-08 08:12:37 UTC
README
A Symfony bundle for our webling.ch API client.
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
$ composer.phar require terminal42/webling-bundle ^2.0@dev
Configuration
The following config options are available (usually add to app/config/config.yml).
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_managerpreconfigured with the configuration (see above).terminal42_webling.repository.memberto find and fetch members.terminal42_webling.repository.membergroupto find and fetch member groups.terminal42_webling.repository.articleto find and fetch articles.terminal42_webling.repository.articlegroupto find and fetch article groups.terminal42_webling.repository.documentto find and fetch documents.terminal42_webling.repository.documentgroupto find and fetch document groups.