PHPackages                             wbf/utils - 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. wbf/utils

ActiveLibrary

wbf/utils
=========

Utilities for Wordpress

041PHP

Since Sep 28Pushed 8y ago3 watchersCompare

[ Source](https://github.com/wagaweb/wbf_utils)[ Packagist](https://packagist.org/packages/wbf/utils)[ RSS](/packages/wbf-utils/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Utils
=====

[](#utils)

Utils component contains a set of utility classes.

[WooCommerce](https://github.com/wagaweb/wbf/blob/master/src/components/utils/WooCommerce.php) related utilities, especially the [DBUtilities](https://github.com/wagaweb/wbf/blob/master/src/components/utils/woocommerce/DBUtilities.php) , will save you a lot of time we guarantee it!

Usage of WooCommerce classes
----------------------------

[](#usage-of-woocommerce-classes)

By calling `WBF\components\utils\WooCommerce::replace_wc_product_classes()` during `init` the WooCommerce product classes will be replaced by WBF ones.

These classes provides more functionality and will be further expanded.

You can also get the WBF counterpart of a WC Product class by calling: `WBF\components\utils\WooCommerce::get_wbf_product($product)` where `$product` is a `\WC_Product` or a product id.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecab5a59cfdd434af4feb082bcb4c24e264ea99574713c876789c3ea8a088c65?d=identicon)[Waga Dev](/maintainers/Waga%20Dev)

---

Top Contributors

[![LostCore](https://avatars.githubusercontent.com/u/2674299?v=4)](https://github.com/LostCore "LostCore (26 commits)")

### Embed Badge

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

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

PHPackages © 2026

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