PHPackages                             wearerequired/harvest-api-php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. wearerequired/harvest-api-php-client

ActiveLibrary[API Development](/categories/api)

wearerequired/harvest-api-php-client
====================================

PHP client library for the Harvest REST API.

0.2.2(5y ago)14139.4k—3.2%13[5 issues](https://github.com/wearerequired/harvest-api-php-client/issues)[7 PRs](https://github.com/wearerequired/harvest-api-php-client/pulls)MITPHPPHP ^7.1

Since Mar 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wearerequired/harvest-api-php-client)[ Packagist](https://packagist.org/packages/wearerequired/harvest-api-php-client)[ Docs](https://github.com/wearerequired/harvest-api-php-client)[ RSS](/packages/wearerequired-harvest-api-php-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (13)Versions (13)Used By (0)

PHP client library for the Harvest REST API
===========================================

[](#php-client-library-for-the-harvest-rest-api)

[![Latest Stable Version](https://camo.githubusercontent.com/95cad696c819fd824460767d2e68f27936e00970a383e2b349c131c98ff26649/68747470733a2f2f706f7365722e707567782e6f72672f776561726572657175697265642f686172766573742d6170692d7068702d636c69656e742f76)](//packagist.org/packages/wearerequired/harvest-api-php-client)[![Latest Unstable Version](https://camo.githubusercontent.com/d55373f8b90a6ea8190208eefe0042c490fec8f26590d97d2984f8bd68f7b51d/68747470733a2f2f706f7365722e707567782e6f72672f776561726572657175697265642f686172766573742d6170692d7068702d636c69656e742f762f756e737461626c65)](//packagist.org/packages/wearerequired/harvest-api-php-client)[![Total Downloads](https://camo.githubusercontent.com/300e2eb4926246c130eeefa3b8f5257aff62acff1f1e192713f8dcceeccc7485/68747470733a2f2f706f7365722e707567782e6f72672f776561726572657175697265642f686172766573742d6170692d7068702d636c69656e742f646f776e6c6f616473)](//packagist.org/packages/wearerequired/harvest-api-php-client)[![CI](https://github.com/wearerequired/harvest-api-php-client/workflows/CI/badge.svg)](https://github.com/wearerequired/harvest-api-php-client/actions?query=workflow%3ACI)[![codecov](https://camo.githubusercontent.com/05353b59e1a59682b3d7cf35b80ce1d1803d5558c3d6b93cd8ebecfeef66dc14/68747470733a2f2f636f6465636f762e696f2f67682f776561726572657175697265642f686172766573742d6170692d7068702d636c69656e742f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d57395233566a626d524c)](https://codecov.io/gh/wearerequired/harvest-api-php-client)

An awesome object oriented wrapper for the Harvest REST API v2, written with and for modern PHP.

Install
-------

[](#install)

Via Composer:

```
composer require wearerequired/harvest-api-php-client php-http/guzzle7-adapter

```

Why `php-http/guzzle7-adapter`? The library is decoupled from any HTTP messaging client with the help by [HTTPlug](http://httplug.io/).

Basic Usage
-----------

[](#basic-usage)

```
// Include Composer's autoloader.
require_once __DIR__ . '/vendor/autoload.php';

// Set up the client.
$client = new \Required\Harvest\Client();
$client->authenticate( 'account-id', 'token' );

// Do your API calls.
$currentUser = $client->currentUser()->show();

// Example request with auto paging.
$projects = $client->projects()->allWithAutoPagingIterator();
foreach ( $projects as $project ) {
	// Do something with $project. The iterator will automatically
	// fetch new entries if the end of a page is reached.
}
```

OAuth
-----

[](#oauth)

This library does not include an OAuth 2.0 Client. We suggest to use the [PHP League's OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client) with [our OAuth provider for Harvest](https://github.com/wearerequired/oauth2-harvest).

License
-------

[](#license)

The MIT License (MIT). Please see [license file](https://github.com/wearerequired/harvest-api-php-client/blob/master/LICENSE) for more information.

[![a required open source product - let's get in touch](https://camo.githubusercontent.com/47e05f68aa9692e2185b9c29cb810dcd02ea3546c00fb25e0152a343154b76bf/68747470733a2f2f6d656469612e72657175697265642e636f6d2f696d616765732f6f70656e2d736f757263652d62616e6e65722e706e67)](https://required.com/en/lets-get-in-touch/)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~148 days

Total

5

Last Release

2069d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.1

0.2.0PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1446895?v=4)[required](/maintainers/wearerequired)[@wearerequired](https://github.com/wearerequired)

---

Top Contributors

[![ocean90](https://avatars.githubusercontent.com/u/617637?v=4)](https://github.com/ocean90 "ocean90 (121 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![jkulak](https://avatars.githubusercontent.com/u/426746?v=4)](https://github.com/jkulak "jkulak (1 commits)")[![stewsnooze](https://avatars.githubusercontent.com/u/196643?v=4)](https://github.com/stewsnooze "stewsnooze (1 commits)")[![swissspidy](https://avatars.githubusercontent.com/u/841956?v=4)](https://github.com/swissspidy "swissspidy (1 commits)")[![emkookmer](https://avatars.githubusercontent.com/u/1932444?v=4)](https://github.com/emkookmer "emkookmer (1 commits)")[![godbout](https://avatars.githubusercontent.com/u/121373?v=4)](https://github.com/godbout "godbout (1 commits)")

---

Tags

apiclientharvestapiHarvest

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wearerequired-harvest-api-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/wearerequired-harvest-api-php-client/health.svg)](https://phpackages.com/packages/wearerequired-harvest-api-php-client)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M736](/packages/sylius-sylius)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[apigee/apigee-client-php

Client library for connecting to the Apigee Edge API.

27584.5k4](/packages/apigee-apigee-client-php)[brd6/notion-sdk-php

Notion SDK for PHP

6123.0k](/packages/brd6-notion-sdk-php)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k28.0M318](/packages/openai-php-client)[razorpay/ifsc

Razorpay IFSC Codes Library

385205.4k](/packages/razorpay-ifsc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
