hack-codegen VS xhp-lib

Compare hack-codegen vs xhp-lib and see what are their differences.

hack-codegen

Library to programatically generate Hack code and write it to signed files (by hhvm)

xhp-lib

Class libraries for XHP. XHP is a Hack feature that augments the syntax of the language such that XML document fragments become valid Hack expressions. (by hhvm)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
hack-codegen xhp-lib
1 1
337 1,372
0.6% -
3.4 1.1
10 months ago 11 months ago
Hack Hack
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

hack-codegen

Posts with mentions or reviews of hack-codegen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-27.
  • Ask HN: State of PHP at Facebook
    7 projects | news.ycombinator.com | 27 Oct 2021
    There's also https://github.com/hhvm/hack-codegen/tree/master/examples/do..., along with the article at https://engineering.fb.com/2015/08/20/open-source/writing-co...

    This is modern Hack code, but not representative of the state of the Ent framework nowadays - ent/ent is closer design-wise, but not usable from Hack.

xhp-lib

Posts with mentions or reviews of xhp-lib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-02.

What are some alternatives?

When comparing hack-codegen and xhp-lib you can also consider the following projects:

fbshipit - Copy commits between repositories · git → git, git → hg, hg → hg, or hg → git

jest - Delightful JavaScript Testing. [Moved to: https://github.com/jestjs/jest]

xhp-js - Easily create JS controllers for XHP elements, and XHP wrappers for React elements

Boston-PHP-Meetup-Examples - Boston PHP Meetup examples

HHVM - A virtual machine for executing programs written in Hack.

nextjs-use-php - Use PHP code right within your React / Next.js App. With "use php";

ent - An entity framework for Go

user-documentation - Documentation for those that use HHVM and write Hack code.

jest - Delightful JavaScript Testing.