PHPackages                             sensasi-delight/fuzzy-ce-php - 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. sensasi-delight/fuzzy-ce-php

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

sensasi-delight/fuzzy-ce-php
============================

A PHP library that Implements the Fuzzy Comprehensive Evaluation method to assist you in the conclusion of qualitative assessment.

v1.0.0(3y ago)13MITPHP

Since Jun 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sensasi-delight/fuzzy-ce-php)[ Packagist](https://packagist.org/packages/sensasi-delight/fuzzy-ce-php)[ RSS](/packages/sensasi-delight-fuzzy-ce-php/feed)WikiDiscussions main Synced 2d ago

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

FuzzyCE PHP
===========

[](#fuzzyce-php)

A PHP library that Implements the Fuzzy Comprehensive Evaluation method to assist you in the conclusion of qualitative assessment.

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

[](#installation)

Install using composer:

```
composer require sensasi-delight/fuzzy-ce-php
```

Usage
-----

[](#usage)

The usage examples of this library are also available on [examples folder](https://github.com/sensasi-delight/fuzzy-ce-php/tree/main/examples) with detailed description.

1. Define the evaluation index with their sub-factor of evaluation.

    ```
    $evaluation_index = [
        'u1' => ['u11', 'u12'],
        'u2' => ['u21', 'u22', 'u23'],
        'u3' => ['u31', 'u32'],
        'u4' => ['u41', 'u42'],
        'u5' => ['u51', 'u52']
    ];
    ```
2. Define the evaluation weight for each factor.

    ```
    $weights = [
        'u1' => 0.133,
        'u2' => 0.310,
        'u3' => 0.330,
        'u4' => 0.118,
        'u5' => 0.109,
        'u11' => 0.667,
        'u12' => 0.333,
        'u21' => 0.200,
        'u22' => 0.400,
        'u23' => 0.400,
        'u31' => 0.333,
        'u32' => 0.667,
        'u41' => 0.667,
        'u42' => 0.333,
        'u51' => 0.750,
        'u52' => 0.250
    ];
    ```
3. Define the scale of assesment

    The scale of assesment can be ascending or descending with their grade name depends on your assesment design.

    ```
    $assesment_scale = [
        'Excellent' => 5,
        'Good' => 4,
        'Medium' => 3,
        'Poor' => 2,
        'Worst' => 1
    ];
    ```
4. Define assesment data for each evaluation index with their respondent answer.

    ```
    $assesment_data = [
        "u11" => [
            "expert1" => 5,
            "expert2" => 4,
            "expert3" => 4,
            "expert4" => 4,
            "expert5" => 3,
        ], "u12" => [
            "expert1" => 5,
            "expert2" => 5,
            "expert3" => 4,
            "expert4" => 3,
            "expert5" => 3,
        ],

        ...

        "u52" => [
            "expert1" => 4,
            "expert2" => 3,
            "expert3" => 3,
            "expert4" => 3,
            "expert5" => 3,
        ], ...

    ];
    ```
5. Create the FuzzyCE object and set the required property that you have defined before.

    ```
    $fuzzyCE = new FuzzyCE(
        $evaluation_index,
        $weights,
        $assesment_scale,
        $assesment_data
    );
    ```

    or

    ```
    $fuzzyCE = new FuzzyCE();

    $fuzzyCE->set_evaluation_index($evaluation_index);
    $fuzzyCE->set_weights($weights);
    $fuzzyCE->set_assesment_scale($assesment_scale);
    $fuzzyCE->set_assesment_data($assesment_data);
    ```
6. Get the evaluation.

    - for the evaluation vector:

        ```
        print_r($fuzzyCE->get_evaluation());
        ```

        it's should be returning an output:

        ```
        Array
        (
            [Excellent] => 0.2708902
            [Good] => 0.4051536
            [Medium] => 0.3239562
            [Poor] => 0
            [Worst] => 0
        )
        ```
    - for the overall evaluation grade:

        ```
        echo $fuzzyCE->get_grade();
        ```

        It's should be returning an output:

        ```
        > Good
        ```
    - for the grade score:

        ```
        echo $fuzzyCE->get_grade_score();
        ```

        It's should be returning an output:

        ```
        > 0.4051536
        ```

Contributing
------------

[](#contributing)

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

1. Fork the Project.
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`).
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`).
4. Push to the Branch (`git push origin feature/AmazingFeature`).
5. Open a Pull Request.

License
-------

[](#license)

The code is released under the MIT license.

Contact
-------

[](#contact)

Email - [zainadam.id@gmail.com](mailto:zainadam.id@gmail.com?subject=%5BGitHub%5D%20EigenvectorCentralityPHP)

Twitter - [@sensasi\_DELIGHT](https://twitter.com/sensasi_DELIGHT)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

1418d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0e258c66ee803422a0d47f100d873089eb11ee822969e62c8d9b4a27f8f2dce?d=identicon)[sensasi-delight](/maintainers/sensasi-delight)

---

Top Contributors

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

---

Tags

analysisassessmentfuzzyqualitativequalitativeassesmentfuzzy comprehensive evaluationfuzzy evaluation method

### Embed Badge

![Health badge](/badges/sensasi-delight-fuzzy-ce-php/health.svg)

```
[![Health](https://phpackages.com/badges/sensasi-delight-fuzzy-ce-php/health.svg)](https://phpackages.com/packages/sensasi-delight-fuzzy-ce-php)
```

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.4k855.8M711](/packages/doctrine-inflector)

PHPackages © 2026

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