noiselabs/nusoap-bundle

Symfony2 bundle for NuSOAP - SOAP Toolkit for PHP

Installs: 516 243

Dependents: 0

Suggesters: 0

Security: 0

Stars: 21

Watchers: 6

Forks: 20

Open Issues: 4

Type:symfony-bundle

0.2.2 2016-05-16 10:33 UTC

This package is auto-updated.

Last update: 2024-11-11 14:10:13 UTC


README

Symfony2 bundle for NuSOAP - SOAP Toolkit for PHP.

Latest Stable Version Total Downloads Latest Unstable Version Build Status License

Requirements

Installation (Composer)

0. Install Composer

If you don't have Composer yet, download it following the instructions on http://getcomposer.org/ or just run the following command:

curl -s http://getcomposer.org/installer | php

1. Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require noiselabs/nusoap-bundle

2. Enable the Bundle

Then, enable the bundle by adding the following line in the app/AppKernel.php file of your project:

// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new NoiseLabs\Bundle\NuSOAPBundle\NoiseLabsNuSOAPBundle(),
        );
        
        // ...
    }
}

Usage

$client = new \nusoap_client('http://example.com/url/to/some/valid.wsdl', true);

$response = $client->call('someSOAPMethod', array('param1'=>'foo', 'param2'=>'bar'));