This is a package that allows you to call the API of TimeChimp, please see their documentation for more information
You can install the package via compose:
composer require guapa/timechimp-sdk
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/#
The MIT License (MIT). Please see License File for more information.