space-invoices / space-invoices-php
Space invoices PHP sdk
Installs: 9 119
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: >=5.6
- nategood/httpful: ^0.2.20
This package is auto-updated.
Last update: 2024-12-09 18:48:36 UTC
README
The Space Invoices SDK provides an easy way to access Space Invoices API from application written PHP.
Documentation
Detailed documentation about the API can be found at docs.spaceinvoices.com
We also invite you to join our Slack community channel Space Invaders
Installation
Install the package with Composer
composer require space-invoices/space-invoices-php
composer install
Then you can use the Composer's autoload
require_once('vendor/autoload.php');
Usage
TOKEN and ACCOUNT_ID can be obtained by signing up for a developer account on our website: spaceinvoices.com
Spaceinvoices\Spaceinvoices::setAccessToken('TOKEN');
Example usage of SpaceInvoices SDK for creating an Organization.
$accountId = 'ACCOUNT_ID'; $create = Spaceinvoices\Organizations::create($accountId, array( "name" => "SpaceX", "country" => "USA" )); var_dump($create);
Visit our website spaceinvoices.com