2017 © Pedro Peláez
 

library onfact-api-php

PHP Classes to help connect to the onFact API

image

onfact/onfact-api-php

PHP Classes to help connect to the onFact API

  • Friday, January 12, 2018
  • by KevinVG
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Build, (*1)

onFact-API-PHP

PHP classes that can be used to connect to the onFact API, (*2)

Supported endpoints:

  • Contacts (customers)
  • ContactPeople
  • Invoices
  • Proposals
  • Productgroups
  • Products
  • Documentevents
  • Attachments

Easy setup

Installation using composer:, (*3)

composer require onfact/onfact-php-api

Include composer autoload (modify path as needed):, (*4)

<?PHP
require_once('vendor/autoload.php');
?>

Connect and use API, (*5)

<?PHP
define('ONFACT_API_KEY', '...');
$onFact = new onFact\Api(ONFACT_API_KEY);
$id = $onFact->Customers->add(array(
    'Contact' => array(
        'name' => 'John Dhoe',
    )
));
$customer = $onFact->Customer->view($id);
echo $customer['Contact']['name']; // John Dhoe
?>

© onFact Facturatie Software, (*6)

The Versions

12/01 2018

dev-master

9999999-dev

PHP Classes to help connect to the onFact API

  Sources   Download

MIT

The Development Requires

by Kevin Van Gyseghem

06/04 2017

1.0.2

1.0.2.0

PHP Classes to help connect to the onFact API

  Sources   Download

MIT

The Development Requires

by Kevin Van Gyseghem

04/01 2017

1.0.1

1.0.1.0

PHP Classes to help connect to the onFact API

  Sources   Download

MIT

The Development Requires

by Kevin Van Gyseghem

04/01 2017

0.1.1

0.1.1.0

PHP Classes to help connect to the onFact API

  Sources   Download

MIT

The Requires

 

by Kevin Van Gyseghem

04/01 2017

1.0.0

1.0.0.0

PHP Classes to help connect to the onFact API

  Sources   Download

MIT

The Requires

 

by Kevin Van Gyseghem