PHPackages                             hametuha/hametwoo - 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. hametuha/hametwoo

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

hametuha/hametwoo
=================

A utility classes for WooCommerce development

0.9.0(1y ago)0698[1 issues](https://github.com/hametuha/hametwoo/issues)GPL-3.0-or-laterPHPPHP &gt;=7.4

Since Feb 2Pushed 1y agoCompare

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

READMEChangelog (2)Dependencies (5)Versions (13)Used By (0)

hametwoo
========

[](#hametwoo)

A utility classes for WooCommerce development.

[![Build Status](https://camo.githubusercontent.com/0c4bb06705f861d9805a18f6a3e22c2bc2a8e5d6098adb6870e3df04adf634fc/68747470733a2f2f7472617669732d63692e6f72672f68616d65747568612f68616d6574776f6f2e737667)](https://travis-ci.org/hametuha/hametwoo)

How to Use
----------

[](#how-to-use)

Include via composer. In your composer.json:

```
{
  "require": {
    "hametuha/hametwoo": "~0.9"
  }
}

```

This library is useful for making Payment Gateways.

Development
-----------

[](#development)

Composer, Node.js, and Docker are required. At first, clone GitHub repository.

```
git clone git@github.com:hametuha/hametwoo.git

```

Then install dependencies.

```
composer install
npm install

```

Run local environment.

```
npm start

```

Run test.

```
# PHP Unit test in Docker.
npm test
# PHP Code Sniffer
composer lint
# PHP Code Beautifier
composer format

```

To enable mailhog for debug, follow the instruction below.

```
# Get docker container ID.
# Notice: run npm start before this step.
npm run path
# You will get container ID at the base name e.g. 0597019337936df00cda1cf5a15016e0
# Save it as .wp_install_path
touch .wp_install_path
echo 0597019337936df00cda1cf5a15016e0 > .wp_install_path
# Restart docker.
npm run update
# Open http://localhost:8025

```

License
-------

[](#license)

GPL 3.0 and later.

Change Log
----------

[](#change-log)

### 0.8.5

[](#085)

- Fix custom email to automatically fired.

### 0.8.4

[](#084)

- Add custom email for cancellation.

### 0.8.2

[](#082)

- Add dependency check `Compatibility::check_dependency( $plugin_files_array )`.
- Add utility functions for get post data for Gateway API.

### 0.8.0

[](#080)

First release.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance40

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~261 days

Recently: every ~632 days

Total

12

Last Release

522d ago

PHP version history (2 changes)0.8.0PHP &gt;=5.4

0.9.0PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/84587?v=4)[Takahashi Fumiki](/maintainers/fumikito)[@fumikito](https://github.com/fumikito)

---

Top Contributors

[![fumikito](https://avatars.githubusercontent.com/u/84587?v=4)](https://github.com/fumikito "fumikito (30 commits)")

---

Tags

woocommercewordpresswordpress-php-library

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/hametuha-hametwoo/health.svg)

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

PHPackages © 2026

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