PHPackages                             eleme/fix-zeus - 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. eleme/fix-zeus

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

eleme/fix-zeus
==============

just want to hack zeus data

0.1.2(11y ago)019MITPHPPHP &gt;=5.3.3

Since Oct 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/No5stranger/fix-zeus)[ Packagist](https://packagist.org/packages/eleme/fix-zeus)[ RSS](/packages/eleme-fix-zeus/feed)WikiDiscussions master Synced 1mo ago

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

fix-zeus
========

[](#fix-zeus)

- Thank for [fzaninotto/Faker](https://github.com/fzaninotto/Faker);
- fix-zeus use Faker to create random data
- Just want to fix zeus data, what is the reason? I don't want to too relay on zeus!

\#Usage:

\##Install with Composer

- require fix-zeus in project

```
"require": {
    "eleme/fix-zeus": "~0.1"
}

```

\##Use fix-zeus to fix date

- Base Usage:

```
use Fixzeus\Factory;

$nSpace = array(
    "namespace" => "thrift service name" . "_",
    "gfix" => "GfixService_" //example
)
$path  //the special file's absolute path, the json file format see below

$fixZeusFactory = new Factory($nSpace, $path);
$fixResutl = $fixZeusFactory->fix($service, $method);

```

- **$service**: the namespace you define in your thrift file
- **$method**: the method you define in your thrift service

\###Customize or range a value To define a value you want, you just write a json file like below, and give the file's absolute path to the entrace function: **Factory::fix($service, $method, $path)**

- **define\_value**: customize value for a variable
- **range\_value**: give the range to a variable (now just support these types: integer/date/time/datetime/unixtime/user\_agent)

```
{
    "define_value": {
        "name": "cjp",
        "age": "22"
    },
    "range_value": {
        "integer": {
            "type": "integer",
            "min": "1",
            "max": "10"
        },
        "date": {
            "type": "date",
            "format": "Y-m-d",
            "max": "2014-11-11"
        },
        "time": {
            "type": "time",
            "format": "H:i:s",
            "max": "22:22:22"
        },
        "datetime": {
            "type": "datetime",
            "format": "Y-m-d H:i:s",
            "min": "2013-11-11 22:22:22",
            "max": "2014-11-11 22:22:22"
        },
        "unixtime": {
            "type": "unixtime",
            "max": "now"
        },
        "user_agent": {
            "type": "userAgent",
            "value": "chrome/firefox/safari/opera/internetExplorer"
        }
    }
}

```

###  Health Score

23

—

LowBetter than 27% 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

Every ~4 days

Total

3

Last Release

4208d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a6294edd6980e753992c1312c144a831af5aafb15ad025355268f50fc9d9952?d=identicon)[No5stranger](/maintainers/No5stranger)

---

Top Contributors

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

---

Tags

thriftfixelemezeus

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eleme-fix-zeus/health.svg)

```
[![Health](https://phpackages.com/badges/eleme-fix-zeus/health.svg)](https://phpackages.com/packages/eleme-fix-zeus)
```

###  Alternatives

[leric/php-thrift

Thrift client api for PHP(version sync with thrift)

38320.6k3](/packages/leric-php-thrift)[digilist/snakedumper

5045.5k](/packages/digilist-snakedumper)[emanueleminotto/faker-service-provider

Faker Service Provider for Silex

162.9k](/packages/emanueleminotto-faker-service-provider)[flowpack/nodegenerator

Random nodes generator for Neos CMS

122.1k](/packages/flowpack-nodegenerator)

PHPackages © 2026

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