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

[leafo/lessphp

lessphp is a compiler for LESS written in PHP.

2.2k8.2M141](/packages/leafo-lessphp)[realrashid/sweet-alert

Laravel Sweet Alert Is A Package For Laravel Provides An Easy Way To Display Alert Messages Using The SweetAlert2 Library.

1.2k2.9M21](/packages/realrashid-sweet-alert)[symfony/polyfill-php55

Symfony polyfill backporting some PHP 5.5+ features to lower PHP versions

10731.7M9](/packages/symfony-polyfill-php55)[helmich/typo3-typoscript-lint

Static code analysis for the TypoScript configuration language.

902.9M241](/packages/helmich-typo3-typoscript-lint)[cyclonedx/cyclonedx-php-composer

Creates CycloneDX Software Bill-of-Materials (SBOM) from PHP Composer projects

821.6M17](/packages/cyclonedx-cyclonedx-php-composer)[kartik-v/yii2-widget-touchspin

A Yii2 wrapper widget for the Bootstrap Switch plugin to use checkboxes &amp; radios as toggle touchspines (sub repo split from yii2-widgets)

184.1M6](/packages/kartik-v-yii2-widget-touchspin)

PHPackages © 2026

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