PHPackages                             sasezaki/php-extension-stub-generator - 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. sasezaki/php-extension-stub-generator

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

sasezaki/php-extension-stub-generator
=====================================

PHP ReflectionExtension's Information Rewind to PHP Code As Stub

0.0.4(8y ago)171216[2 issues](https://github.com/sasezaki/php-extension-stub-generator/issues)BSD-3-ClausePHP

Since Dec 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sasezaki/php-extension-stub-generator)[ Packagist](https://packagist.org/packages/sasezaki/php-extension-stub-generator)[ RSS](/packages/sasezaki-php-extension-stub-generator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

PHP Extension Stub Generator
============================

[](#php-extension-stub-generator)

PHP ReflectionExtension's Information Rewind to PHP Code As Stub.

Purpose
=======

[](#purpose)

Code Completion under IDE.

USAGE
-----

[](#usage)

```
$ php-extension-stub-generator.phar dump-files {extension name} {dir}

```

USAGE Example
-------------

[](#usage-example)

```
$ php-extension-stub-generator.phar dump-files ast tmp

```

```
$ php -d extension=/home/you/git/nikic_php-ast/modules/ast.so php-extension-stub-generator.phar dump-files ast tmp

```

BUILDING phar
-------------

[](#building-phar)

to build phar, please install box.

```
$ composer.phar global require kherge/box --prefer-source

```

and run,

```
$ php -d phar.readonly=0 ~/.composer/vendor/bin/box build

```

MOSTELY YOU DON'T NEED
----------------------

[](#mostely-you-dont-need)

-

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

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 ~143 days

Total

4

Last Release

2999d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4eed2726ad1fce689a99672d965d8b4a387f030f08290e00708b66e4621139d2?d=identicon)[sasezaki](/maintainers/sasezaki)

---

Top Contributors

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

---

Tags

extensionidephpstubstubextensionReflectionExtension

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sasezaki-php-extension-stub-generator/health.svg)

```
[![Health](https://phpackages.com/badges/sasezaki-php-extension-stub-generator/health.svg)](https://phpackages.com/packages/sasezaki-php-extension-stub-generator)
```

###  Alternatives

[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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