# swoole/typephp

> Compile PHP to Native Binaries.

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/swoole/typephp
- HTML: https://awesomeopensource.dev/project/swoole-typephp
- Website: https://swoole.com/aot/
- License: GPL-3.0
- Language: PHP
- stars: 1478
- Activity score: 4.9/5 (Thriving)
- Last commit (any branch): 2026-11-12
- Last release: v0.9.5 2026-10-13

## Description

Ahead-of-time compiler that translates PHP source into C++17 and then native machine code, producing executables, PHP extensions or shared libraries. Native int, float and bool types compile to C++ scalars, with strongly typed standard containers, high-precision bigInt, decimal and bigFloat types, and optional compile-time attributes that generate getters and constructors. The compiler is written in PHP and self-hosting, targets Linux, macOS, Windows, Android, iOS and WASI, and is licensed under GPL-3.0.

## Maintenance activity

- Recency: 100% (weight 40%) — last commit: 0 days ago
- Commit volume: 100% (weight 25%)
- Releases: 95% (weight 25%) — last release: 30 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 594 / 90d, 1938 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
