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

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

1974d 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

[pingpong/themes

Laravel Themes

3023.7k2](/packages/pingpong-themes)[kevinsimard/laravel-cookieless-session

Laravel middleware to start a cookieless session

1417.0k](/packages/kevinsimard-laravel-cookieless-session)

PHPackages © 2026

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