Skip to content

Add sqlc-php#1443

Open
phpibe wants to merge 1 commit into
ziadoz:masterfrom
phpibe:phpibe-sqlc
Open

Add sqlc-php#1443
phpibe wants to merge 1 commit into
ziadoz:masterfrom
phpibe:phpibe-sqlc

Conversation

@phpibe

@phpibe phpibe commented Jun 13, 2026

Copy link
Copy Markdown

Description

A PHP code generator inspired by sqlc for Go. It reads your SQL schema and annotated query files, and generates fully-typed PHP 8.4 classes that use PDO under the hood — no ORM, no magic, just plain objects derived directly from your database.

Project links

Quality checklist

  • PHP ^8.3 (supported version)
  • Composer installable: composer require phpibe/sqlc-php
  • PSR-4 autoload under Sqlc\ namespace
  • Tested with PHPUnit 11
  • Actively maintained
  • Documented in English (README + dedicated docs site)
  • MIT licensed

PR checklist (per CONTRIBUTING.md)

  • Format: [LIBRARY](LINK) - DESCRIPTION. with full stop
  • Description is short, clear, unbiased, no jargon
  • Spelling and grammar checked
  • Entry added alphabetically (between Brick Money and OmniPay)
  • Composer installable
  • Active and maintained

The added line

* [Sqlc-php](https://github.com/phpibe/sqlc-php) - Compile SQL to type-safe code.

@phpibe phpibe changed the title Add sql-php Add sqlc-php Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant