PHPackages                             g3/utilities - 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. g3/utilities

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

g3/utilities
============

Collection of utility code/libraries for use with WordPress plugins/themes.

1.0.0(4y ago)017[1 PRs](https://github.com/goodglamm/g3-utilities/pulls)GPL-2.0-or-laterPHPPHP &gt;=7.4

Since Feb 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/goodglamm/g3-utilities)[ Packagist](https://packagist.org/packages/g3/utilities)[ RSS](/packages/g3-utilities/feed)WikiDiscussions stable Synced today

READMEChangelog (1)DependenciesVersions (4)Used By (0)

g3-utilities
============

[](#g3-utilities)

Introduction
------------

[](#introduction)

`g3-utilities` is a collection of utility libraries helpful when working with WordPress. It is derived from the utilities library written for internal use on our websites at [The Good Glamm Group](https://www.goodglamm.com/). We decided to make part of that library an Open Source `composer` package in the hope that others can benefit from these utilities in their projects.

On its own this package does not do anything, which is why we decided not to make it available as a WordPress plugin. It is meant to be used as a support/utility library for existing/new WordPress code, be it theme or plugin.

- [License](#License)
- [Requirements](#Requirements)
- [Installation](#Installation)
- [Usage](docs/index.md)

License
-------

[](#license)

This package is licensed under `GPL v2.0-or-later`. You are free to use this package however you like as long as you comply with the terms of the license.

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

[](#requirements)

This composer package has following requirements for use:

- **PHP &gt;= 7.4** : This package was written for PHP 7.4.x and uses some features which might not be available in lower versions.
- **WordPress** : Some of the functionality in this package uses WordPress functions. This package is not meant to be used without WordPress and we do not have any plans of adding/supporting polyfills for those functions to make this package work without WordPress. If you want to use this package without WordPress, you are free to do so and add any polyfills you might need.

Installation
------------

[](#installation)

This is a `composer` package and to use it, you should install `composer` and fetch it through that. That way you would be able to easily have control over which version you use and `composer` would take care of any dependencies this package might have.

Once you have `composer` installed, run the following command in your project directory.

```
composer require g3/utilities

```

Once the package is installed, put the following in your project code before you use any of the package API. If you are not adding this in a file which resides in the same directory as your `composer.json` file or `vendor` directory then adjust the path below accordingly.

```
require_once __DIR__ . '/vendor/autoload.php';
```

This will allow you to use this package's API (&amp; that of any other `composer` package you install) without bothering about loading up package files.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

1585d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d9d523dd1b26e2514a05b563905c25b18d494368c327b3a4f06fd2eb373a948d?d=identicon)[good\_glamm\_group](/maintainers/good_glamm_group)

---

Top Contributors

[![coolamit](https://avatars.githubusercontent.com/u/1511590?v=4)](https://github.com/coolamit "coolamit (2 commits)")

---

Tags

wordpresswputilitiesgoodglammgroupg3

### Embed Badge

![Health badge](/badges/g3-utilities/health.svg)

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

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k463.8k2](/packages/roots-bedrock)[ffraenz/private-composer-installer

A composer install helper for private packages

2321.7M5](/packages/ffraenz-private-composer-installer)[tareq1988/wordpress-settings-api-class

WordPress settings API Abstraction Class

47011.8k4](/packages/tareq1988-wordpress-settings-api-class)[gotoandplay/gravityforms-composer-installer

A composer install helper for Gravity Forms

32408.3k](/packages/gotoandplay-gravityforms-composer-installer)[seravo/seravo-plugin

Enhances WordPress with Seravo.com specific features and integrations

40170.1k2](/packages/seravo-seravo-plugin)[proteusthemes/wp-customizer-utilities

Advanced WordPress customizer controls and settings for better user experience.

329.9k1](/packages/proteusthemes-wp-customizer-utilities)

PHPackages © 2026

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