PHPackages                             producttrap/producttrap - 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. producttrap/producttrap

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

producttrap/producttrap
=======================

A driver-based product info scraping library for PHP

v1.0.1(3y ago)0710[1 PRs](https://github.com/producttrap/producttrap/pulls)5MITPHPPHP ^8.1

Since Oct 13Pushed 3y agoCompare

[ Source](https://github.com/producttrap/producttrap)[ Packagist](https://packagist.org/packages/producttrap/producttrap)[ Fund](https://ecologi.com/owenvoke?gift-trees)[ GitHub Sponsors](https://github.com/owenvoke)[ RSS](/packages/producttrap-producttrap/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (12)Versions (4)Used By (5)

ProductTrap
===========

[](#producttrap)

[![Latest Version on Packagist](https://camo.githubusercontent.com/068746d36849df30e8fde6a390d8f9d84761dea45753a4dd43548520783c2422/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70726f64756374747261702f70726f64756374747261702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/producttrap/producttrap)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/f29edece3efe92fed141adeef7a6cc291d048804ad7a9a404556bbc6deb507d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70726f64756374747261702f70726f64756374747261702f74657374732e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d5465737473)](https://github.com/producttrap/producttrap/actions)[![Static Analysis](https://camo.githubusercontent.com/ab9b552c274e9c80247700e81accda9f7fe640f9fc199260c248e0fd598eceed/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70726f64756374747261702f70726f64756374747261702f7374617469632e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d537461746963253230416e616c79736973)](https://github.com/producttrap/producttrap/actions/workflows/static.yml)[![Total Downloads](https://camo.githubusercontent.com/28d90fd07fbcdb58c8480841d13c0b43e4d27f9cfee167dd5f35693ffc4b45e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70726f64756374747261702f70726f64756374747261702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/producttrap/producttrap)[![Buy us a tree](https://camo.githubusercontent.com/910e097fe46a40add8f3484705ecbc26dc047df84b2fef027405f47408023d76/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e3f7374796c653d666c61742d737175617265)](https://ecologi.com/owenvoke?gift-trees)

A driver-based product info scraping library for PHP

Install
-------

[](#install)

Via Composer

```
composer require producttrap/producttrap
```

Usage
-----

[](#usage)

You will need to configure a default driver, along with your ProductTrap drivers in the [`config/producttrap.php` file](./config/producttrap.php).

```
use ProductTrap\ProductTrap;

/** @var ProductTrap $productTrap */
$productTrap = $this->app->make(ProductTrap::class);

// Add additional drivers
$productTrap->extend('my_driver', function () {
    return new MyDriver();
});

// Retrieve a specific driver
$productTrap->driver('name');

// Call `find()` on a driver
$productTrap->driver('name')->find('abcdefg');

// Call `find()` on the default driver
$productTrap->find('abcdefg');
```

**Using the Facade**

```
use ProductTrap\Facades\ProductTrap;

// Using the default driver with the facade
ProductTrap::find('ABCDEFG12345');

// Using a specific driver with the facade
ProductTrap::driver('target_australia')->find('194353456');
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Owen Voke](https://github.com/owenvoke)
- [Bradie Tilley](https://github.com/bradietilley)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Treeware
--------

[](#treeware)

You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.

It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

You can buy trees [here](https://ecologi.com/owenvoke?gift-trees).

Read more about Treeware at [treeware.earth](https://treeware.earth).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.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 ~196 days

Total

2

Last Release

1162d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

![](https://avatars.githubusercontent.com/u/44430471?v=4)[Bradie Tilley](/maintainers/bradietilley)[@bradietilley](https://github.com/bradietilley)

---

Top Contributors

[![bradietilley](https://avatars.githubusercontent.com/u/44430471?v=4)](https://github.com/bradietilley "bradietilley (17 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (11 commits)")

---

Tags

hacktoberfestproducttrap

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k90](/packages/nativephp-mobile)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M161](/packages/spatie-laravel-health)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)

PHPackages © 2026

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