opifer / imuis
PHP library to access the imuis API
Installs: 1 653
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 1
Open Issues: 1
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ~4.0
Requires (Dev)
- fzaninotto/faker: ~1.4
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.2
This package is auto-updated.
Last update: 2024-11-28 22:48:14 UTC
README
Imuis
Muis software builds administrative software for accountants and entrepreneurs. This package eases the communication with the iMuis API from a PHP project. The client is written on version 10-09-2013 from the Cloudswitch iMuis webservice.
This package is a work in progress. Currently only a few methods are available. More methods will be added and we're open to any pull requests.
Installation
Add the package to your composer.json
composer require opifer/imuis
Example
Quick example on how to import a new creditor into Imuis
<?php require 'vendor/autoload.php'; use Opifer\Imuis\Client; use Opifer\Imuis\Model\Creditor; $creditor = new Creditor(); $creditor->setName('Rick van Laarhoven'); // Set any other data on the creditor $client = new Client('PARTNERKEY', 'ENVIRONMENT'); $response = $client->createCreditor($creditor); if ($response->hasErrors()) { $errors = $response->getErrors(); }