PHPackages                             ossbrownie/carts-guru - 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. ossbrownie/carts-guru

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

ossbrownie/carts-guru
=====================

Recover Your Abandoned Carts and Turn Them into Sales.

0.0.6(8y ago)12251MITPHPPHP &gt;=5.3

Since Aug 16Pushed 8y agoCompare

[ Source](https://github.com/ossbrownie/carts-guru)[ Packagist](https://packagist.org/packages/ossbrownie/carts-guru)[ Docs](https://github.com/ossbrownie/carts-guru)[ RSS](/packages/ossbrownie-carts-guru/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

CartsGuru
=========

[](#cartsguru)

[![Latest Stable Version](https://camo.githubusercontent.com/aa443d9a19d8a7165fdb8c97be53107f89204d14a2653633ee89b59613542053/68747470733a2f2f706f7365722e707567782e6f72672f6f737362726f776e69652f63617274732d677572752f762f737461626c65)](https://packagist.org/packages/ossbrownie/carts-guru)[![Total Downloads](https://camo.githubusercontent.com/487000f629a4d3abdb93660f3dccf430c57e97efb258fbdde4ddf4a3ccf27e8d/68747470733a2f2f706f7365722e707567782e6f72672f6f737362726f776e69652f63617274732d677572752f646f776e6c6f616473)](https://packagist.org/packages/ossbrownie/carts-guru)[![Latest Unstable Version](https://camo.githubusercontent.com/16bc186117c2559305b40712bd18a5db17bd9a3926cb6a54a3f770a674d7b9ae/68747470733a2f2f706f7365722e707567782e6f72672f6f737362726f776e69652f63617274732d677572752f762f756e737461626c65)](https://packagist.org/packages/ossbrownie/carts-guru)[![License](https://camo.githubusercontent.com/b34491d1cf1cc9a4489f8913ffbf43cba51061225a41710345739a52e607653c/68747470733a2f2f706f7365722e707567782e6f72672f6f737362726f776e69652f63617274732d677572752f6c6963656e7365)](https://packagist.org/packages/ossbrownie/carts-guru)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/69d75cf628712ac850cb8d654c7ee5657f1a57d9eec7924e29e12f46cad5433c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f737362726f776e69652f63617274732d677572752f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ossbrownie/carts-guru/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/97d855d3fc0068e69b21cff0e19e97633ecf171b7ffb1fdcb82638a8ce2852b4/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6f737362726f776e69652f63617274732d677572752f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/ossbrownie/carts-guru?branch=master)[![Build Status](https://camo.githubusercontent.com/d1fb0582aff4442f2814ae3c154553388eadce397725ee5198f770f1cc52eaed/68747470733a2f2f7472617669732d63692e6f72672f6f737362726f776e69652f63617274732d677572752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ossbrownie/carts-guru)

Recover Your Abandoned Carts and Turn Them into Sales.

curl
----

[](#curl)

A basic CURL wrapper for PHP (see  for more information about the libcurl extension for PHP)

Requirements
------------

[](#requirements)

- **PHP** &gt;= 5.3
- **EXT-CURL** = \*

Usage
-----

[](#usage)

```
$cartsGuru = new CartsGuru(
    new HTTPClient(
        new CurlClient(),
        new Config(array(
            'apiAuthKey' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
        ))
    ),
    'site-id-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
);

$item = new Item(array(
    'id' => 'test-item-0008',
    'label' => 'product',
    'quantity' => 1,
    'totalATI' => 200,
    'totalET' => 150,
    'url' => 'http://site.com/product/0008',
    'imageUrl' => 'http://site.com/product/0008.jpg',
));

$cart = new Cart(
    array(
        'id' => 'test-cart-0008',
        'totalATI' => 200,
        'totalET' => 150,
        'accountId' => '3847569834',
        'firstname' => 'Tester',
        'email' => 'test@site.com',
        'country' => 'United States',
        'countryCode' => 'USA',
    )
);
$cart->addItem($item);
$status = $cartsGuru->trackCart($cart);

$order = new Order(
    array(
        'id' => 'test-order-0008',
        'cartId' => 'test-cart-0008',
        'totalATI' => 200,
        'totalET' => 150,
        'state' => 'approved',
        'accountId' => '3847569834',
        'firstname' => 'Tester',
        'email' => 'test@site.com',
        'country' => 'United States',
        'countryCode' => 'USA',
    )
);
$order->addItem($item);
$status = $cartsGuru->trackOrder($order);
```

Contact
-------

[](#contact)

Problems, comments, and suggestions all welcome:

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.1% 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 ~54 days

Recently: every ~68 days

Total

6

Last Release

2967d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/285262?v=4)[Brownie Points Project](/maintainers/brownie)[@brownie](https://github.com/brownie)

---

Top Contributors

[![ossbrownie](https://avatars.githubusercontent.com/u/29150511?v=4)](https://github.com/ossbrownie "ossbrownie (27 commits)")[![sol2dev](https://avatars.githubusercontent.com/u/16096879?v=4)](https://github.com/sol2dev "sol2dev (2 commits)")

---

Tags

browniecarts-gurucarts.guruabandoned carts

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ossbrownie-carts-guru/health.svg)

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

###  Alternatives

[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)[jolicode/php-os-helper

Helpers to detect the OS of the machine where PHP is running.

213.1M6](/packages/jolicode-php-os-helper)

PHPackages © 2026

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