2017 © Pedro Peláez
 

library pest-bundle

Symfony2 Pest Bundle

image

evlz/pest-bundle

Symfony2 Pest Bundle

  • Monday, March 9, 2015
  • by Evlz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,119 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Symfony2 Bundle, (*1)

Service for https://github.com/educoder/pest, (*2)

Installation and configuration:

Get the bundle

Add to your evlz-pest-bundle to your dependencies:, (*3)

``` json, (*4)

{, (*5)

"require": {
    "evlz/pest-bundle": "~1.0"

}

}, (*6)


To install, run `php composer[.phar] [update|install]`. ### Add EvlzPestBundle to your application kernel ```php // app/AppKernel.php public function registerBundles() { return array( // ... new Evlz\PestBundle\EvlzPestBundle(), // ... ); }

You can get the pest service simply by using the container. From your controller you can do:, (*7)


$baseUrl = 'http://gdata.youtube.com'; // get service $rest = $this->get('evlz_pest.rest'); // create client. \PestJSON by default $client = $rest->createClient($baseUrl); // create \Pest client $clientType = \Evlz\PestBundle\Entity\Factory::TYPE_MAIN;// $client = $rest->createClient($baseUrl, $clientType); // create \Pest client. forced re-creation $clientType = \Evlz\PestBundle\Entity\Factory::TYPE_JSON;// $client = $rest->createClient($baseUrl, $clientType, true);

Tests


% phpunit src/Evlz/PestBundle/Tests/Entity/RestTest.php % phpunit src/Evlz/PestBundle/Tests/Entity/DataConverterTest.php

Please, see https://github.com/educoder/pest for details, (*8)

The Versions

09/03 2015

dev-master

9999999-dev

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan Hanov

09/03 2015

0.3.1

0.3.1.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan Hanov

22/08 2014

0.2.5

0.2.5.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan Hanov

21/08 2014

0.2.4

0.2.4.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan Hanov

21/08 2014

0.2.3

0.2.3.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan Hanov

20/08 2014

0.2.2

0.2.2.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan Hanov

19/08 2014

0.2.1

0.2.1.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan Hanov

29/03 2014

0.1.1

0.1.1.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ruslan Hanov

11/03 2014

0.0.4

0.0.4.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

by Ruslan Hanov

11/03 2014

0.0.3

0.0.3.0

Symfony2 Pest Bundle

  Sources   Download

MIT

The Requires

 

by Ruslan Hanov