phpz — Use Zig as an alternative to C for developing PHP extensions.
Supports PHP modules, globals, functions, classes, constants, INI settings, memory, lifecycle hooks, observers, and more — covering most PHP extension development scenarios.
Provides a wide range of type‑safe wrappers around Zend structs.
Compatible with PHP 8.2–8.5 (NTS and ZTS), and supports Linux, macOS, and Windows.
Wraps PHP’s native allocators (emalloc/efree) into Zig Allocator, keeping memory management fully consistent with PHP’s own behavior.
Actively under development.