terminal42 / cashctrl-api
API client for cashctrl.com
Fund package maintenance!
terminal42
Other
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0 || ^2.0
Suggests
- ext-dom: To read and write custom fields.
This package is auto-updated.
Last update: 2024-10-02 09:46:48 UTC
README
An API client for the REST API of cashctrl.com. This client is currently used for our own projects and is not stable at all. It thus might be subject to heavy changes. If you're interested in moving to a stable release (version 1.0.0) so you can be sure there are no BC breaks until version 2.0.0 (semver), please feel free to get in touch with us.
Installation
$ composer.phar require terminal42/cashctrl-api dev-main
If you are using Symfony, we recommend to use our CashCtrl Bundle.
Usage
$subdomain = 'companyname'; $apiKey = 'foobar'; $client = new Client($subdomain, $apiKey); // Example call to get person list: (new PersonEndpoint($client))->list();