PHPackages                             appsaloon/woocommerce-wrappers - 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. appsaloon/woocommerce-wrappers

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

appsaloon/woocommerce-wrappers
==============================

wrappers for woocommerce

1.0.1-alpha3(5y ago)09proprietaryPHP

Since Dec 2Pushed 5y ago2 watchersCompare

[ Source](https://github.com/AppSaloon/woocommerce-wrappers)[ Packagist](https://packagist.org/packages/appsaloon/woocommerce-wrappers)[ RSS](/packages/appsaloon-woocommerce-wrappers/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Usage
=====

[](#usage)

Add

```
"require": {
	"appsaloon/woocommerce-wrappers": "1.0.0-alpha4"
  },
  "autoload": {
	"psr-4": {
	  "appsaloon\\packages\\woocommerce\\" : "vendor/appsaloon/woocommerce-wrappers/"
	}
  }

```

To your plugin or project composer.json

Add `require_once __DIR__ . '/vendor/autoload.php'; ` to your plugin file or to functions.php in your theme

Adjust the path for your use case, this will automatically load the classes as you need them.

All methods that wrap WooCommerce functions that can return multiple types will return the single type one would expect if everything went right or throw an Exception.

For instance:

```
$woocommerce = new Woocommerce_Functions();
$woocommerce->get_product( 5 );

```

will return an object of type WC\_Product if a product with id 5 exists, if not it will throw an Exception.

To handle this correctly, simply catch the exception and handle the error there.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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

Every ~2 days

Total

6

Last Release

1973d ago

### Community

Maintainers

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

---

Top Contributors

[![koengabriels](https://avatars.githubusercontent.com/u/6860442?v=4)](https://github.com/koengabriels "koengabriels (7 commits)")

### Embed Badge

![Health badge](/badges/appsaloon-woocommerce-wrappers/health.svg)

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

###  Alternatives

[vishnubob/wait-for-it

Pure bash script to test and wait on the availability of a TCP host and port

9.8k157.6k3](/packages/vishnubob-wait-for-it)[nodejs-php-fallback/nodejs-php-fallback

Allow you to call node.js module or scripts throught PHP and call a fallback function if node.js is not available

17454.7k8](/packages/nodejs-php-fallback-nodejs-php-fallback)

PHPackages © 2026

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