PHPackages                             imamuseum/harvester2 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. imamuseum/harvester2

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

imamuseum/harvester2
====================

Second version of Online collection data harvester.

v2.041(8y ago)0132MITPHPPHP &gt;=5.5.9

Since Aug 29Pushed 4y ago2 watchersCompare

[ Source](https://github.com/IMAmuseum/harvester2)[ Packagist](https://packagist.org/packages/imamuseum/harvester2)[ RSS](/packages/imamuseum-harvester2/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (8)Used By (0)

Harvester Package
-----------------

[](#harvester-package)

This is a large overhaul of the harvester. The focus of this project was to optimize the harvester to avoid extraneous querying and allow que-able processing.

### Composer Setup

[](#composer-setup)

```
    "require": {
        "imamuseum/harvester2": ""
    },
```

### Service Provider

[](#service-provider)

In `config/app.php` add to the autoloaded providers -

```
Imamuseum\Harvester2\HarvesterServiceProvider::class,
```

Add ExampleHarvester to `app/Providers/AppServiceProvider.php` to implement the HarvesterInterface.

```
    public function register()
    {
        $this->app->bind('Imamuseum\Harvester2\Contracts\HarvesterInterface',
            'Imamuseum\Harvester2\ExampleHarvester');
    }
```

Now you can publish the package -

```
php artisan vendor:publish
```

Push items off the queue Harvester 2 pushes delete jobs onto a queue named "high" and update jobs onto the default queue. This allows the user to define a high and low priority queue to insure delete jobs are run before update jobs.

```
php artisan queue:listen
php artisan queue:listen --queue=high,low - prioritize "high" queue then "low" queue (or "default" or whatever you name your other queues)
```

Harvester2 has the flexibility to work with any queue and any document store. At the moment ElasticSearch is the only Document Store that has been implemented. Personally I suggest using Redis as a queue as it plays well with Laravel. If you intend to use sqlite as a queue be sure to use an instance separate from any of your sources (if any of your sources are sqlite databases. The lack of concurrency may cause jobs to fail.

### Artisan Commands

[](#artisan-commands)

```
php artisan create-index --index=optional - Re-Creates document Store indices according to config. Option to specify which index.
php artisan delete-index --index=optional - Deletes document Store indices according to config. Option to specify which index.
php artisan harvest --source=optional --id=null --recent=false - Runs sync. Option to specify source, id, and whether to pull all or most recently changed data
```

Use the --help flag after any command to view the available options with a description.

### Supported Sources

[](#supported-sources)

- Piction
- Proficio
- Generic API source
- Generic Query source

### Supported Document Stores

[](#supported-document-stores)

- ElasticSearch 5.0

### License

[](#license)

The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~41 days

Recently: every ~49 days

Total

7

Last Release

2980d ago

Major Versions

v1.0 → v2.02017-09-18

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/963445?v=4)[Newfields Lab](/maintainers/IMAmuseum)[@IMAmuseum](https://github.com/IMAmuseum)

---

Top Contributors

[![daniel-keller](https://avatars.githubusercontent.com/u/4036797?v=4)](https://github.com/daniel-keller "daniel-keller (24 commits)")

### Embed Badge

![Health badge](/badges/imamuseum-harvester2/health.svg)

```
[![Health](https://phpackages.com/badges/imamuseum-harvester2/health.svg)](https://phpackages.com/packages/imamuseum-harvester2)
```

###  Alternatives

[drupol/phpermutations

Generators and iterators, permutations and combinations.

80713.5k5](/packages/drupol-phpermutations)

PHPackages © 2026

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