2017 © Pedro Peláez
 

symfony-bundle collmex-bundle

Service-oriented Collmex API for Symfony2 applications

image

20steps/collmex-bundle

Service-oriented Collmex API for Symfony2 applications

  • Tuesday, August 12, 2014
  • by helmuthva
  • Repository
  • 1 Watchers
  • 1 Stars
  • 632 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

20steps/collmex-bundle (twentystepsCollmexBundle)

About

The 20steps Collmex Bundle provides a Service-oriented API for Symfony2 applications that need to interact with the Collmex accounting service., (*1)

For further information about Collmex goto http://www.collmex.de., (*2)

Features

  • [x] Collmex accessible as a configurable Symfony2 service.
  • [ ] Complete CRUD API for Collmex.
  • [ ] Configurable caching of responses to prevent surpassing rate limit.
  • [ ] Provide some derived KPIs.
  • [ ] Full documentation and some examples.
  • [ ] Prepare for open sourcing of 20steps control.

Installation

Require the bundle by adding the following entry to the respective section of your composer.json:, (*3)

"20steps/collmex-bundle": "dev-master"

Get the bundle via packagist from GitHub by calling:, (*4)

php composer.phar update 20steps/collmex-bundle

Register the bundle in your application by adding the following line to the registerBundles() method of your AppKernel.php:, (*5)

new twentysteps\Bundle\CollmexBundle\twentystepsCollmexBundle()

Register services provided by the bundle by adding the following line to the imports section of your config.yml:, (*6)

- { resource: "@twentystepsCollmexBundle/Resources/config/services.yml" }

Define the following properties in your parameters.yml:
* twentysteps_collmex.url - URL of the Collmex API - normally should point to "https://www.collmex.de". * twentysteps_collmex.account_id - ID of your account at Collmex. You will need a "Pro" account at collmex use this API. * twentysteps_collmex.login - The login to use for accessing Collmex. You should create a service account to not interfere with the sessions of your accountants. * twentysteps_collmex.password - Password of the account., (*7)

Usage

  • Get reference to the Collmex service either by adding @twentysteps_collmex.service as a dependency in your service or by explicitely getting the service from the container during runtime e.g. by calling $this->get('twentysteps_collmex.service') in the action of your controller.
  • Call any public function provided by Services/CollmexService.php e.g. getCustomerCount() to get the number of customers listed in Collmex.

Version

This version is not yet complete or usable., (*8)

Author

Helmut Hoffer von Ankershoffen (hhva@20steps.de)., (*9)

The Versions

12/08 2014

dev-master

9999999-dev https://github.com/20steps/collmex-bundle

Service-oriented Collmex API for Symfony2 applications

  Sources   Download

LGPL-3.0+

The Requires

 

api soa sf2 accounting collmex