2017 © Pedro Peláez
 

symfony-bundle tyr-bundle

Symfony2 bundle which provides a Tyr service.

image

canaltp/tyr-bundle

Symfony2 bundle which provides a Tyr service.

  • Thursday, February 25, 2016
  • by packagistctp
  • Repository
  • 34 Watchers
  • 1 Stars
  • 875 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 9 Versions
  • 6 % Grown

The README.md

Tyr Bundle

Symfony2 bundle which provide a concrete AbstractTyrService., (*1)

The bundle uses the TyrComponent., (*2)

Installation

Install via composer, (*3)

``` js { "require": { "canaltp/tyr-bundle": "1.1.x" } }, (*4)


Updating **AppKernel.php**: ``` php public function registerBundles() { $bundles = array( // ... new CanalTP\TyrBundle\CanalTPTyrBundle(), ); }

Updating app/config.yml:, (*5)

``` yml, (*6)

Tyr api configuration

canal_tp_tyr: url: %tyr_url% end_point_id: 2 # Optional, can also be set with setEndPointId, (*7)


Add parameters in **parameters.yml**: ``` yml parameters: tyr_url: http://tyr.dev.canaltp.fr/v0/

Usage

``` php // Accessing service $tyrApi = $container->get('canal_tp_tyr.api'); $tyrApi->setEndPointId(1); // If not set in configuration, (*8)

// Call api $user = $tyrApi->getUserByEmail('...'); ```, (*9)

License

This project is under GPL-3.0 License., (*10)

The Versions

25/02 2016

dev-master

9999999-dev https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provides a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr

25/02 2016

1.2.2

1.2.2.0 https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provides a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr

25/02 2016

1.3.0

1.3.0.0 https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provides a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr

10/11 2015

1.2.1

1.2.1.0 https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provide a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr

06/11 2015

1.2.0

1.2.0.0 https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provide a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr

10/09 2015

1.1.1

1.1.1.0 https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provide a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr

29/07 2015

1.1.0

1.1.0.0 https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provide a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr

28/07 2015

1.0.1

1.0.1.0 https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provide a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr

28/07 2015

1.0.0

1.0.0.0 https://github.com/CanalTP/TyrBundle

Symfony2 bundle which provide a Tyr service.

  Sources   Download

GPL-3.0

The Requires

 

php symfony tyr