2017 © Pedro Peláez
 

library soap-client-sf2-bridge

A Symfony bridge for the phpro/soap-client package

image

phpro/soap-client-sf2-bridge

A Symfony bridge for the phpro/soap-client package

  • Saturday, October 28, 2017
  • by phpro
  • Repository
  • 6 Watchers
  • 7 Stars
  • 2,680 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 5 Versions
  • 22 % Grown

The README.md

Repository abandoned 2020-11-27

This repository has been archived since we are not using it anymore internally. Feel free to use it AS-IS, we won't be providing any support anymore., (*1)

Build status Packagist, (*2)

SOAP Client Symfony Bridge

This package contains a Symfony Bridge for the soap-client., (*3)

The SOAP requests and responses will be logged in the profiler page., (*4)

A stopwatch is collecting information about runtime and memory usage., (*5)

This version is compatible with Symfony 3.2, (*6)

Installation

$ composer require --dev phpro/soap-client-sf2-bridge
<?php
// AppKernel.php

if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    $bundles[] = new Phpro\SoapClient\BridgeBundle\PhproSoapClientBridgeBundle();
}

Registering additional event dispatchers

The DataCollector listens to the default event dispatcher., (*7)

If you configured the soap-client to use another event dispatcher, you can mark it with the tag: phpro_soap_client.event_dispatcher., (*8)

# services.yml
services:
    app.event_dispatcher:
        class: Symfony\Component\EventDispatcher\EventDispatcher
        tags:
            - { name: phpro_soap_client.event_dispatcher }

Register dispatcher

Don't forget to register the EventDispatcher on your ClientBuilder as in the example below., (*9)

$clientBuilder->withEventDispatcher($dispatcher);

The Versions

23/11 2015

v0.1.0

0.1.0.0

A Symfony2 bridge for the phpro/soap-client package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Toon Verwerft
by Jan Vernieuwe

debug symfony soap datacollector