factomos / factomos-php
PHP library for the Factomos API.
Installs: 2 114
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ^7.0
README
Factomos is an invoicing tool (B2B SaaS) available at [https://factomos.com]. This library is a PHP Client for the Factomos API. With it you can create invoices, estimates, send them, etc ...
The full API documentation is available at [https://factomos.docs.apiary.io/]
Installation
Official installation method is via composer and its packagist package factomos/factomos-php.
$ composer require factomos/factomos-php
Usage
The simplest usage of the library would be as follows:
<?php require_once __DIR__ . '/vendor/autoload.php'; $factomosApiToken = 'my-api-token'; $factomosClient = new Factomos\ApiClient([ 'FACTOMOS_API_TOKEN' => $factomosApiToken, ]); $myInvoicesList = $factomosClient->listInvoices();