PHPackages                             techarea/phuzzy - 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. techarea/phuzzy

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

techarea/phuzzy
===============

Phuzzy adalah sebuah library PHP untuk algoritma fuzzy

1.0.0(9y ago)3102↓100%[1 issues](https://github.com/techarealab/phuzzy/issues)MITPHPPHP &gt;=5.6.0

Since May 4Pushed 9y ago3 watchersCompare

[ Source](https://github.com/techarealab/phuzzy)[ Packagist](https://packagist.org/packages/techarea/phuzzy)[ Docs](https://github.com/techarealab/phuzzy)[ RSS](/packages/techarea-phuzzy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Phuzzy
======

[](#phuzzy)

Phuzzy adalah sebuah library PHP untuk algoritma fuzzy

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

[](#installation)

```
composer require techarea/phuzzy
```

Contoh penggunaan
-----------------

[](#contoh-penggunaan)

- Buatlah object baru

```
$phuzzy = new Techarea\Phuzzy\Phuzzy;
```

- Masukkan nama variabel input (huruf kecil semua dan tanpa spasi)

```
$phuzzy->setInputNames(['var1', 'var2']);
```

- Masukkan nama variabel output (huruf kecil semua dan tanpa spasi)

```
$phuzzy->setOutputNames(['var1', 'var2']);
```

- Tambahkan membership variabel

> tipe himpunan: 'LEFT\_INFINITY', 'TRIANGLE', 'TRAPEZOID', 'RIGHT\_INFINITY'

> semua titik berupa integer/float kecuali titik tengah bisa array jika tipe 'TRAPEZOID'

```
$phuzzy->addMember('variabel', 'himpunan',  'titik_awal', 'titik_tengah', 'titik_akhir', 'tipe_himpunan');
```

- Menambahkan rules

```
$phuzzy->addRule('IF variabel.himpunan AND variabel.himpunan THEN variabel.himpunan');
```

- Memasukkan nilai variabel

```
$phuzzy->setRealInput('variabel', 'nilai');
```

- Menjalankan proses fuzzy

```
$result = $phuzzy->Execute();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

3292d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9bc41025a97faddf4fe64f1e1978b63c261a566b4777f8cacbd0c1b83dc4e600?d=identicon)[techarea](/maintainers/techarea)

---

Top Contributors

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

---

Tags

fuzzyfuzzy-logicphpphp-libraryphuzzyfuzzyphuzzy

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/techarea-phuzzy/health.svg)

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

###  Alternatives

[edgaras/strsim

Collection of string similarity and distance algorithms in PHP including Levenshtein, Damerau-Levenshtein, Jaro-Winkler, and more

2423.0k](/packages/edgaras-strsim)

PHPackages © 2026

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