PHPackages                             chec/commerce - 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. chec/commerce

AbandonedArchivedLibrary[API Development](/categories/api)

chec/commerce
=============

PHP client library for Commerce.js by Chec

v1.0.0(9y ago)22575MITPHPPHP &gt;=5.4.0

Since Nov 19Pushed 4y ago3 watchersCompare

[ Source](https://github.com/chec/commerce.php)[ Packagist](https://packagist.org/packages/chec/commerce)[ Docs](https://commercejs.com/)[ RSS](/packages/chec-commerce/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Commerce.php by Chec
====================

[](#commercephp-by-chec)

PHP client library for Commerce.js by Chec

You can learn more about Commerce.js &amp; Chec at .

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

[](#requirements)

PHP 5.4 and later.

Install
-------

[](#install)

You can install the bindings via [Composer](http://getcomposer.org/). Run the following command:

```
composer require chec/commerce:*
```

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading):

```
require_once('vendor/autoload.php');
```

Getting Started
---------------

[](#getting-started)

Simple usage looks like:

```
Commerce\Auth::setApiKey('sk_test_8146250gNZ8gddde480e07ac91c10c2651077176aed27');

$products = Commerce\Product::all();

foreach($products as $k => $product):
	echo $product['name'];
endforeach;
```

Documentation
-------------

[](#documentation)

Please see

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3459d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfb9f347ed7dbb30ff9d1a190134115cd2b819952b71b3c95517f66751974fad?d=identicon)[dvnkshl](/maintainers/dvnkshl)

---

Top Contributors

[![dvnkshl](https://avatars.githubusercontent.com/u/3625028?v=4)](https://github.com/dvnkshl "dvnkshl (11 commits)")

---

Tags

chececommercephpapisdkecommerceshopping cartcheccommerce.js

### Embed Badge

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

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

###  Alternatives

[bandwidth/sdk

Bandwidth's set of APIs

16948.8k1](/packages/bandwidth-sdk)[messagemedia/messages-sdk

The MessageMedia Messages API provides a number of endpoints for building powerful two-way messaging applications.

13390.6k](/packages/messagemedia-messages-sdk)

PHPackages © 2026

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