PHPackages                             facebook/hack-codegen - 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. facebook/hack-codegen

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

facebook/hack-codegen
=====================

Hack Codegen is a library for programmatically generating Hack code

v4.5.1(3y ago)347548.4k↓39.5%[2 PRs](https://github.com/hhvm/hack-codegen/pulls)7

Since Aug 7Compare

[ Source](https://github.com/hhvm/hack-codegen)[ Packagist](https://packagist.org/packages/facebook/hack-codegen)[ RSS](/packages/facebook-hack-codegen/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (8)Versions (61)Used By (7)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/hhvm/hack-codegen).

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity77

Established project with proven stability

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

Recently: every ~155 days

Total

59

Last Release

1442d ago

Major Versions

v0.9-beta → v1.02015-08-20

v1.1.5 → v2.0.02017-02-15

v2.x-dev → v3.0.02017-11-14

v3.3.1 → v4.0.02018-11-07

v3.x-dev → v4.22019-02-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3757713?v=4)[Joel Marcey](/maintainers/JoelMarcey)[@JoelMarcey](https://github.com/JoelMarcey)

![](https://avatars.githubusercontent.com/u/601530?v=4)[Yang, Bo](/maintainers/Atry)[@Atry](https://github.com/Atry)

![](https://avatars.githubusercontent.com/u/727402?v=4)[Alexey Toptygin](/maintainers/alexeyt)[@alexeyt](https://github.com/alexeyt)

![](https://avatars.githubusercontent.com/u/10160443?v=4)[Alejandro Marcu](/maintainers/alejandromarcu)[@alejandromarcu](https://github.com/alejandromarcu)

---

Tags

hackcode-generation

### Embed Badge

![Health badge](/badges/facebook-hack-codegen/health.svg)

```
[![Health](https://phpackages.com/badges/facebook-hack-codegen/health.svg)](https://phpackages.com/packages/facebook-hack-codegen)
```

###  Alternatives

[jms/cg

Toolset for generating PHP code

15615.8M8](/packages/jms-cg)[gossi/php-code-generator

Toolset for generating PHP code

148203.9k32](/packages/gossi-php-code-generator)

PHPackages © 2026

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