2017 © Pedro PelĂĄez
 

library infakt-client

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

image

miisieq/infakt-client

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

  • Saturday, July 14, 2018
  • by miisieq
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 50 % Grown

The README.md

Infakt API Client

Style-CI Travis CI Coverage Downloads Release
StyleCI Travis CI Coverage Status Total Downloads Latest Stable Version

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products., (*1)

Quick start

Step 1: Install the package

Install Composer and run the following command to get the latest version:, (*2)

composer require miisieq/infakt-client

Step 2: Create an instance of the client

$infakt = new \Infakt\Infakt(
    '7e2356a0a400d6ec3d2ced911991f3e8',
    new \GuzzleHttp\Client()
);

Resources reference

Clients

Get all

$clients = $infakt->getRepository(\Infakt\Model\Client::class)->getAll();

Get by ID

$client = $infakt->getRepository(\Infakt\Model\Client::class)->get(2887744);

See more: Infakt API Documentation, (*3)

Bank Accounts

Get all

$bankAccounts = $infakt->getRepository(\Infakt\Model\BankAccount::class)->getAll();

Get by ID

$bankAccount = $infakt->getRepository(\Infakt\Model\BankAccount::class)->get(4786512);

See more: Infakt API Documentation, (*4)

VAT Rate

Get all

$infakt->getRepository(\Infakt\Model\VatRate::class)->getAll()

See more: Infakt API Documentation, (*5)

Contributing

Running tests (phpunit/phpunit)

$ composer tests

Running code style fixer (friendsofphp/php-cs-fixer)

$ composer phpcs

License

This package is released under the MIT license. See the included LICENSE file for more information., (*6)

The Versions

14/07 2018

dev-master

9999999-dev

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

  Sources   Download

MIT

The Requires

 

The Development Requires

by MichaƂ Szczech

14/07 2018

2.0.x-dev

2.0.9999999.9999999-dev

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

  Sources   Download

MIT

The Requires

 

The Development Requires

by MichaƂ Szczech

31/12 2017

dev-analysis-zG0nkg

dev-analysis-zG0nkg

InfaktClient is a PHP library for the third version of Infakt REST API that makes it easy to perform CRUD (create, read, update and delete) operations on invoices, clients and products.

  Sources   Download

MIT

The Requires

 

The Development Requires

by MichaƂ Szczech

28/12 2017

dev-analysis-XayONx

dev-analysis-XayONx

  Sources   Download

MIT

The Requires

 

The Development Requires

by MichaƂ Szczech

27/12 2017

dev-analysis-q1v1ww

dev-analysis-q1v1ww

  Sources   Download

MIT

The Requires

 

The Development Requires

by MichaƂ Szczech