2017 © Pedro PelĆ”ez
 

library zfr-quaderno

PHP library for interacting with the Quaderno REST API

image

zfr/zfr-quaderno

PHP library for interacting with the Quaderno REST API

  • Monday, February 9, 2015
  • by bakura10
  • Repository
  • 2 Watchers
  • 1 Stars
  • 82 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

ZfrQuaderno

Latest Stable Version, (*1)

ZfrQuaderno is a modern PHP library based on Guzzle for Quaderno invoicing system., (*2)

Dependencies

If you are using ZF2, you can use the module that simplify its usage: ZfrQuadernoModule, (*3)

Installation

Installation of ZfrQuaderno is only officially supported using Composer:, (*4)

php composer.phar require zfr/zfr-quaderno:1.*

Tutorial

Currently, ZfrQuaderno only implements a very limited subset of the Quaderno API. It will be extended in the future., (*5)

First, you need to instantiate the Quaderno client, passing your account name and token (you can find those in your Quaderno dashboard). A third parameter can be passed to true to enable the client in sandbox mode., (*6)

$client = new QuadernoClient('account-name', 'my_token');
$client->createWebhook([
    'url'         => 'https://mylistener.com',
    'event_types' => ['invoice.created']
]);

Complete reference

Here is a complete list of all methods:, (*7)

CONTACT RELATED METHODS:, (*8)

  • array getContacts(array $args = array())
  • array getContact(array $args = array())
  • array getStripeContact(array $args = array())
  • array updateContact(array $args = array())

INVOICE RELATED METHODS:, (*9)

  • array getInvoices(array $args = array())
  • array getInvoice(array $args = array())
  • array deliverInvoice(array $args = array())

WEBHOOK RELATED METHODS:, (*10)

  • array getWebhooks(array $args = array())
  • array getWebhook(array $args = array())
  • array createWebhook(array $args = array())
  • array updateWebhook(array $args = array())
  • array deleteWebhook(array $args = array())

TAXES RELATED METHODS:, (*11)

  • array calculateTaxes(array $args = array())

The Versions

09/02 2015

dev-master

9999999-dev https://github.com/zf-fr/zfr-quaderno

PHP library for interacting with the Quaderno REST API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment quaderno

09/02 2015

v1.0.4

1.0.4.0 https://github.com/zf-fr/zfr-quaderno

PHP library for interacting with the Quaderno REST API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment quaderno

04/02 2015

v1.0.3

1.0.3.0 https://github.com/zf-fr/zfr-quaderno

PHP library for interacting with the Quaderno REST API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment quaderno

04/02 2015

v1.0.2

1.0.2.0 https://github.com/zf-fr/zfr-quaderno

PHP library for interacting with the Quaderno REST API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment quaderno

30/01 2015

v1.0.1

1.0.1.0 https://github.com/zf-fr/zfr-quaderno

PHP library for interacting with the Quaderno REST API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment quaderno

28/01 2015

v1.0.0

1.0.0.0 https://github.com/zf-fr/zfr-quaderno

PHP library for interacting with the Quaderno REST API

  Sources   Download

MIT

The Requires

 

The Development Requires

payment quaderno