2017 © Pedro Peláez
 

symfony-bundle webling-bundle

Symfony2 bundle for our Webling API client

image

terminal42/webling-bundle

Symfony2 bundle for our Webling API client

  • Tuesday, December 6, 2016
  • by aschempp
  • Repository
  • 2 Watchers
  • 2 Stars
  • 333 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

terminal42/webling-bundle

A Symfony bundle for our webling.ch API client., (*1)

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., (*2)

Installation

$ composer.phar require terminal42/webling-bundle ^2.0@dev

Configuration

The following config options are available (usually add to app/config/config.yml)., (*3)

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:, (*4)

  • 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.

The Versions

06/12 2016