Download the PHP package zfr/zfr-quaderno without Composer
On this page you can find all versions of the php package zfr/zfr-quaderno. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zfr/zfr-quaderno
More information about zfr/zfr-quaderno
Files in zfr/zfr-quaderno
Package zfr-quaderno
Short Description PHP library for interacting with the Quaderno REST API
License MIT
Homepage https://github.com/zf-fr/zfr-quaderno
Informations about the package zfr-quaderno
ZfrQuaderno
ZfrQuaderno is a modern PHP library based on Guzzle for Quaderno invoicing system.
Dependencies
- PHP 5.5+
- Guzzle: >= 5.0
If you are using ZF2, you can use the module that simplify its usage: ZfrQuadernoModule
Installation
Installation of ZfrQuaderno is only officially supported using Composer:
Tutorial
Currently, ZfrQuaderno only implements a very limited subset of the Quaderno API. It will be extended in the future.
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.
Complete reference
Here is a complete list of all methods:
CONTACT RELATED METHODS:
- array getContacts(array $args = array())
- array getContact(array $args = array())
- array getStripeContact(array $args = array())
- array updateContact(array $args = array())
INVOICE RELATED METHODS:
- array getInvoices(array $args = array())
- array getInvoice(array $args = array())
- array deliverInvoice(array $args = array())
WEBHOOK RELATED METHODS:
- 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:
- array calculateTaxes(array $args = array())