2017 © Pedro Peláez
 

symfony-bundle xerobundle

Symfony2 Bundle that creates an Guzzle client for Xero

image

blackoptic/xerobundle

Symfony2 Bundle that creates an Guzzle client for Xero

  • Wednesday, October 7, 2015
  • by james75
  • Repository
  • 2 Watchers
  • 4 Stars
  • 431 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 4 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

XeroBundle

XeroBundle makes it easy to communicate with the Xero api using the Guzzle library, (*1)

How to get started

  1. Add the following to your composer.json file, (*2)

       "require": {
           ...
           "blackoptic/xerobundle": "*"
           ...
       }
    
  2. Run php composer.phar update "blackoptic/xerobundle", (*3)

  3. Register the bundle in your app/AppKernel.php:, (*4)

    php <?php ... public function registerBundles() { $bundles = array( ... new BlackOptic\Bundle\XeroBundle\BlackOpticXeroBundle(), ... ); ..., (*5)

  4. Add the config for your account details:, (*6)

    yaml black_optic_xero: consumer_key: <Your Consumer Key> consumer_secret: <Your Consumer Secret> private_key: <Path to you private key>, (*7)

  5. Request and use the service: php $xeroClient = $this->get('blackoptic.xero.client'); $response = $xeroClient->get('Invoices')->send();, (*8)

The Versions

07/10 2015

dev-master

9999999-dev https://github.com/james75/XeroBundle

Symfony2 Bundle that creates an Guzzle client for Xero

  Sources   Download

MIT

The Requires

 

The Development Requires

by James Watson

symfony2 accounts guzzle xero