2017 © Pedro Peláez
 

symfony-bundle traction-bundle

Traction API bundle for Symfony2

image

noetix/traction-bundle

Traction API bundle for Symfony2

  • Wednesday, March 5, 2014
  • by noetix
  • Repository
  • 1 Watchers
  • 2 Stars
  • 2,408 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Traction Bundle

This is a Symfony2 bundle to provide easy access to the [traction-php][1] library., (*1)

Installation

Composer

Use composer to get the bundle:, (*2)

php composer.phar require noetix/traction-bundle:*

AppKernel

Enable the bundle in your AppKernel:, (*3)

new noetix\TractionBundle\noetixTractionBundle(),

Configuration

Configure the bundle in config.yml:, (*4)

Classic API

noetix_traction:
    endpoint_id: 12345
    user_id:     my_username
    password:    fantastic_password

Dynamic API

noetix_traction:
    endpoint_id: notused
    user_id:     notused
    password:    fantastic_password
    connection:   2n5e7b2r8qkx07dy2ctd

Example

To get the classic handler for the Traction Classic API, (*5)

$traction = $this->get('traction.handler');

To get the dynamic handler for the Traciton Dynamic API, (*6)

$traction = $this->get('traction.dynamic');

For further code examples see [traction-php][1], (*7)

The Versions

05/03 2014

dev-master

9999999-dev

Traction API bundle for Symfony2

  Sources   Download

MIT

The Requires

 

05/03 2014

v1.1

1.1.0.0

Traction API bundle for Symfony2

  Sources   Download

MIT

The Requires

 

11/10 2012

v1.0

1.0.0.0

Traction API bundle for Symfony2

  Sources   Download

MIT

The Requires