PHPackages                             bestit/harvest-api - 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. bestit/harvest-api

ActiveLibrary[API Development](/categories/api)

bestit/harvest-api
==================

Harvest API written in PHP, optimised for Laravel.

0.1.0(9y ago)156004[2 issues](https://github.com/bestit/harvest-api/issues)MITPHPPHP ^7.0

Since Apr 20Pushed 8y ago2 watchersCompare

[ Source](https://github.com/bestit/harvest-api)[ Packagist](https://packagist.org/packages/bestit/harvest-api)[ RSS](/packages/bestit-harvest-api/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (4)Used By (0)

bestit/harvest-api
------------------

[](#bestitharvest-api)

[![Build Status](https://camo.githubusercontent.com/96a1f827812799165baad5a350883351b6ff3fd6aeaf96234638f3282e8ba79d/68747470733a2f2f7472617669732d63692e6f72672f6265737469742f686172766573742d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bestit/harvest-api)

TODO

Installation
------------

[](#installation)

### Step 1: Composer

[](#step-1-composer)

From the command line, run:

```
composer require bestit/harvest-api

```

### Step 2: Service Provider

[](#step-2-service-provider)

For your Laravel app, open `config/app.php` and, within the `providers` array, append:

```
BestIt\Harvest\HarvestServiceProvider::class,

```

This will bootstrap the package into Laravel.

### Step 3: Facade

[](#step-3-facade)

For your Laravel app, open `config/app.php` and, within the `aliases` array, append:

```
'Harvest' => BestIt\Harvest\Facade\Harvest::class,

```

This will add the Harvest Facade into Laravel.

### Step 4: Publishing config

[](#step-4-publishing-config)

From the command line, run:

```
php artisan vendor:publish --provider="BestIt\Harvest\HarvestServiceProvider"

```

### Step 5: Configuration

[](#step-5-configuration)

Add the following entries to your environment (.env) file:

```
HARVEST_SERVER_URL // This is required...
HARVEST_USERNAME // This is required...
HARVEST_PASSWORD // This is required...

```

### Usage within Laravel

[](#usage-within-laravel)

```
// Get all users.
$users = Harvest::users()->all();

// For more examples check the ./examples directory.
```

### Usage outside of Laravel

[](#usage-outside-of-laravel)

```
// Load dependencies
require_once __DIR__ . '/vendor/autoload.php';

$url = 'https://company.harvestapp.com';
$username = 'some@email.com';
$password = 'password';

$client = new \BestIt\Harvest\Client($url, $username, $password);

// Get all users.
$users = $client->users()->all();

// For more examples check the ./examples directory.
```

### Todo

[](#todo)

- Tests (perhaps use mockable.io?)
- Cover all endpoints

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~194 days

Total

2

Last Release

3167d ago

Major Versions

0.1.0 → 2.0.x-dev2017-11-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/acc5af332f2a79dedb5aea83c3b4c2665d99fd2c14743fd0c2a3d70ecf0b7859?d=identicon)[best-it](/maintainers/best-it)

---

Top Contributors

[![bestit-el-bardan](https://avatars.githubusercontent.com/u/24458969?v=4)](https://github.com/bestit-el-bardan "bestit-el-bardan (6 commits)")[![emtii](https://avatars.githubusercontent.com/u/4825707?v=4)](https://github.com/emtii "emtii (3 commits)")[![AndrewFeeney](https://avatars.githubusercontent.com/u/13425337?v=4)](https://github.com/AndrewFeeney "AndrewFeeney (1 commits)")[![b3nl](https://avatars.githubusercontent.com/u/1861864?v=4)](https://github.com/b3nl "b3nl (1 commits)")[![johannez](https://avatars.githubusercontent.com/u/427214?v=4)](https://github.com/johannez "johannez (1 commits)")

---

Tags

apilaravelHarvest

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bestit-harvest-api/health.svg)

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

###  Alternatives

[openai-php/laravel

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

3.7k9.5M89](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M984](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

74331.3k1](/packages/mozex-anthropic-laravel)

PHPackages © 2026

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