2017 © Pedro Peláez
 

library zuora

A Laravel 4 package for the PHPForce Zuora library

image

dazza76/zuora

A Laravel 4 package for the PHPForce Zuora library

  • Tuesday, December 16, 2014
  • by dazza76
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Laravel4-Zuora-library

Installation

Install this package through Composer. To your composer.json file, add:, (*1)

"require-dev": {
    "Dazza76/Zuora": "dev-master"
}

Next, run composer update to download it., (*2)

add the service provider to app/config/app.php, within the providers array., (*3)

'providers' => array(
    // ...

    'Dazza76\Zuora\ZuoraServiceProvider'
)

Configuration

Run php artisan config:publish dazza76/zuora to publish the package config file. Run php artisan asset:publish dazza76/zuora to publish the public wsql file. Add your username, password and path to your file which can be obtained from your Zuora and select an endpoint to connect to, (*4)

Config::set('zuora::connections.runtime', array(
            'wsdl' => 'zuora.a.54.0.wsdl',
                        'username' => '',
                        'password' => '',
                        //'endpoint' => 'https://www.zuora.com/apps/services/a/54.0'
                         'endpoint' => 'https://apisandbox.zuora.com/apps/services/a/54.0'
));

Accessing connections

You can access default Zuora connection via the Zuora::connection method:, (*5)

Zuora::connection()->queryall(...);

When using multiple connections you can access each specific Zuora connection by passing connection name:, (*6)

Zuora::connection('runtime')->queryall(...);

Basic usage examples

// With custom connection
$listing = Zuora::connection('my-Zuora-connection')->queryall(...);

// with default connection
$listing = Zuora::connection()->queryall(...);

The Versions

16/12 2014

dev-master

9999999-dev

A Laravel 4 package for the PHPForce Zuora library

  Sources   Download

The Requires

 

by Darren Philips

laravel soap laravel4 zuora zuora.com