2017 © Pedro Peláez
 

library invoiced

Invoiced PHP Library

image

invoiced/invoiced

Invoiced PHP Library

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 16 Versions
  • 12 % Grown

The README.md

invoiced-php

This repository contains the PHP client library for the Invoiced API., (*1)

CI Coverage Status PHP version, (*2)

Installing

The Invoiced package can be installed with composer:, (*3)

composer require invoiced/invoiced

Requirements

Usage

First, you must instantiate a new client, (*4)

$invoiced = new Invoiced\Client('{API_KEY}');

Then, API calls can be made like this:, (*5)

// retrieve invoice
$invoice = $invoiced->Invoice->retrieve('{INVOICE_ID}');

// mark as paid
$payment = $invoiced->Payment->create([
    'amount' => $invoice->balance,
    'method' => 'check',
    'applied_to' => [
        [
            'type' => 'invoice',
            'invoice' => $invoice->id,
            'amount' => $invoice->balance,
        ],
    ]
]);

If you want to use the sandbox API instead then you must set the second argument on the client to true like this:, (*6)

$invoiced = new Invoiced\Client("{SANDBOX_API_KEY}", true);

Developing

The test suite can be ran with phpunit, (*7)

Deploying

In order to deploy a new version to Packagist, a new release must be created in GitHub., (*8)

The Versions

23/12 2017

dev-master

9999999-dev https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api sdk payments billing invoicing subscription billing recurring billing invoiced metered billing estimates usage billing credit notes payment plans

28/11 2017

0.13

0.13.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api sdk payments billing invoicing subscription billing recurring billing invoiced metered billing estimates usage billing credit notes payment plans

09/11 2017

0.12

0.12.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api sdk payments billing invoicing subscription billing recurring billing invoiced metered billing estimates usage billing credit notes payment plans

24/07 2017

0.11

0.11.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api sdk payments billing invoicing subscription billing recurring billing invoiced metered billing estimates usage billing credit notes payment plans

12/05 2017

0.10

0.10.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api sdk payments billing invoicing subscription billing recurring billing invoiced metered billing estimates usage billing credit notes payment plans

16/01 2017

0.9

0.9.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api sdk payments billing invoicing subscription billing recurring billing invoiced metered billing estimates usage billing credit notes payment plans

16/01 2017

0.8

0.8.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api payments billing invoicing subscription billing invoiced metered billing estimates usage billing

12/09 2016

0.7.0

0.7.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced

21/08 2016

0.6

0.6.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced

30/05 2016

0.5

0.5.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced

27/05 2016

0.4.0

0.4.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced

09/03 2016

0.3.0

0.3.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced

01/03 2016

0.2.1

0.2.1.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced

26/01 2016

0.2.0

0.2.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced

04/12 2015

0.1.0

0.1.0.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced

20/08 2015

0.0.1

0.0.1.0 https://invoiced.com/

Invoiced PHP Library

  Sources   Download

MIT

The Requires

 

The Development Requires

api invoicing invoiced