vankevych / timechimp-sdk
This is a package that allows you to call the API of TimeChimp
dev-main
2023-06-22 08:39 UTC
Requires
- php: >=7.2
- ext-json: *
- guzzlehttp/guzzle: ^7.0.1
Requires (Dev)
- phpunit/phpunit: ^9.3.3
This package is not auto-updated.
Last update: 2025-06-06 00:33:09 UTC
README
This is a package that allows you to call the API of TimeChimp, please see their documentation for more information
Installation
You can install the package via compose:
composer require time-chimp/timechimp-sdk
Usage
To use this package you need to instantiate a new request like so:
<?php $request = new \Guapa\TimeChimp\UsersRequest; $request->setAccessToken('abcde'); /** @var \GuzzleHttp\Psr7\Response $response */ $response = $request->getAll(); $users = json_decode($response->getBody(), true);
You need to add the access token after creating the instance of the request. This is done so the requests can be loaded using Dependency Injection
Available requests are:
- Customers
- Expenses
- Invoices
- Mileage
- Projects
- Project notes
- Time entries
- Users
See the official documentation for more information: https://timechimp.docs.apiary.io/#
Credits
License
The MIT License (MIT). Please see License File for more information.