2017 © Pedro PelĂĄez
 

library consumer-bundle

WS consumer bundle

image

itkg/consumer-bundle

WS consumer bundle

  • Thursday, September 15, 2016
  • by pdenis
  • Repository
  • 4 Watchers
  • 0 Stars
  • 15,295 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 1 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

consumer-bundle

WS Consumer Bundle on top, (*1)

Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight, (*2)

This bundle provide some utilities on top of itkg-consumer library * Consumer Service definition * Simple UI to configure Consumer services (proxy, authentication, action / desactivation, cache, etc.), (*3)

Installation

Installation by Composer

If you use composer, add ItkgConsumerBundle bundle as a dependency to the composer.json of your application, (*4)


"require": { "itkg/consumer-bundle": "dev-master" },
  • Add ItkgConsumerBundle to your application kernel.

// app/AppKernel.php <?php // ... public function registerBundles() { $bundles = array( // ... new Itkg\ConsumerBundle\ItkgConsumerBundle(), ); }
  • Activate bundle config in application's config.yml file by addng :

itkg_consumer: ~
  • Load routing in your routing.yml file

ItkgConsumerBundle: resource: "@ItkgConsumerBundle/Resources/config/routing.yml" prefix: /admin

Usage

Service definition example


rest_client: class: %itkg_consumer.client.rest.class% my_service: class: %itkg_consumer.service.class% arguments: - @event_dispatcher - @rest_client - { identifier: my_service_identifier } tags: - { name: itkg_consumer.service }

With specific "itkg_consumer.service" tag, service will be automatically loaded in service list UI, (*5)

Getting service from container


$myService = $container ->get('itkg_consumer.manager.service') ->find('my_service_identifier');

 Todo

  • Add tests
  • Debug utilities
  • WS profiling
  • Improve doc
  • Add more tests

The Versions

15/09 2016

dev-temp

dev-temp http://github.com/itkg/consumer-bundle

WS consumer bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pascal DENIS

bundle ws consumer interakting

15/05 2015

dev-master

9999999-dev http://github.com/itkg/consumer-bundle

WS consumer bundle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pascal DENIS

bundle ws consumer interakting

15/05 2015