PHPackages                             hershel-theodore-layton/sql-queryf-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. [Database &amp; ORM](/categories/database)
4. /
5. hershel-theodore-layton/sql-queryf-codegen

ActiveLibrary[Database &amp; ORM](/categories/database)

hershel-theodore-layton/sql-queryf-codegen
==========================================

Customize your queryf DSL to your heart's content

v0.3.2(1mo ago)088↓90%MITHackCI passing

Since Jul 5Pushed 1mo agoCompare

[ Source](https://github.com/hershel-theodore-layton/sql-queryf-codegen)[ Packagist](https://packagist.org/packages/hershel-theodore-layton/sql-queryf-codegen)[ RSS](/packages/hershel-theodore-layton-sql-queryf-codegen/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (16)Versions (8)Used By (0)

SQL Queryf Codegen
==================

[](#sql-queryf-codegen)

*Customize your queryf DSL to your heart's content.*

This package contains some presets for you own sql-queryf engines. The basic `HH\\Lib\\SQL\\Query`-like engine can be generated with `vendor/bin/sql-queryf --vanilla`. If you want to see what's possible, use `--extended` instead of `--vanilla`. If you want to customize, see `HTL\\SqlQueryfCodegen\\Presets`. A usage example can be found in `vendor/hershel-theodore-layton/sql-queryf-codegen/bin/sql-queryf.hack`.

```
$your_engine = PrintfStateMachine\Factory::create(
  PrintfStateMachine\hack_type('Sql'),
  SqlQueryfCodegen\StaticTypeAssertionGenerator::create(dict[]),
)
  |> $$->apply(SqlQueryfCodegen\Presets::vanilla)
  |> SqlQueryfCodegen\codegen($$, PrintfStateMachine\ENGINE_TEMPLATE);
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance91

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

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

Total

7

Last Release

51d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d16d159b7061287c506d4ab44d05ae042bc4ec697116d1bd132a007634d9ff21?d=identicon)[Hershel Theodore Layton](/maintainers/Hershel%20Theodore%20Layton)

---

Top Contributors

[![hershel-theodore-layton](https://avatars.githubusercontent.com/u/81193606?v=4)](https://github.com/hershel-theodore-layton "hershel-theodore-layton (25 commits)")

### Embed Badge

![Health badge](/badges/hershel-theodore-layton-sql-queryf-codegen/health.svg)

```
[![Health](https://phpackages.com/badges/hershel-theodore-layton-sql-queryf-codegen/health.svg)](https://phpackages.com/packages/hershel-theodore-layton-sql-queryf-codegen)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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