PHPackages                             moln/php-thrift-optimize - 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. moln/php-thrift-optimize

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

moln/php-thrift-optimize
========================

PHP thrift optimize &amp; PHP Hbase optimize

025PHP

Since Mar 10Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Moln/php-thrift-optimize)[ Packagist](https://packagist.org/packages/moln/php-thrift-optimize)[ RSS](/packages/moln-php-thrift-optimize/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-thrift-optimize
===================

[](#php-thrift-optimize)

原Thrift 生成的PHP太大, 代码太多重复, 此功能对 Thrift 生成的PHP 进行优化

\##使用说明

\#####步骤1: composert 安装下载 thrift 依赖库

`composer install`会进行下载 thrift 库

\#####步骤2: 进入项目目录,用thrift生成php类

`thrift -gen php THbaseService.thrift`

\#####步骤3: 执行优化命令

`php bin/ThriftOptimize.php` 提示输入thrift 类 输入 `Hbase.THbaseService` , 会生成 source 目录, 里面就是生成优化后的代码

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2050694?v=4)[Moln](/maintainers/Moln)[@Moln](https://github.com/Moln)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/moln-php-thrift-optimize/health.svg)

```
[![Health](https://phpackages.com/badges/moln-php-thrift-optimize/health.svg)](https://phpackages.com/packages/moln-php-thrift-optimize)
```

###  Alternatives

[tplaner/when

Date/Calendar recursion library.

5261.0M5](/packages/tplaner-when)[asantibanez/laravel-eloquent-state-machines

State machines for your Laravel Eloquent models

568592.8k](/packages/asantibanez-laravel-eloquent-state-machines)[watson/sitemap

Generate Google Sitemaps in Laravel

2681.3M4](/packages/watson-sitemap)[fivefilters/readability.php

A PHP port of Readability.js

311826.8k5](/packages/fivefilters-readabilityphp)[outl1ne/nova-settings

A Laravel Nova tool for editing custom settings using native Nova fields.

296883.2k3](/packages/outl1ne-nova-settings)[consoletvs/profanity

PHP library to block bad words in a string

1221.0M3](/packages/consoletvs-profanity)

PHPackages © 2026

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