crazywhalecc/static-php-cli
Build standalone portable PHP binaries on Linux, macOS, Windows, with PHP project together, with popular extensions included. observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 80
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14.0
- age_days: 1955
- days_rel: 137
- days_push: 11
- n_releases_24m: 33
Adoption not part of the score
1925 stars · 405 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
StaticPHP (formerly static-php-cli) is a tool for compiling standalone, dependency-free PHP binaries with popular extensions included on Linux, macOS, and Windows. It can also bundle PHP source code with the interpreter into a single self-extracting executable via phpmicro.
Use cases
- build a standalone portable php binary
- compile php cli with extensions statically linked
- package a php script into a single executable
- create zero-dependency php binary for deployment
- embed php interpreter with my project into one file
- build php binary for alpine linux
- distribute a php cli tool without requiring php installed
When to choose
- you need to ship a PHP CLI app or script as a single portable executable
- you want a statically linked PHP binary with specific extensions on Linux, macOS, or Windows
- you want to combine PHP source code and interpreter into one self-extracting binary with phpmicro
When to avoid
- you only need a standard PHP installation for web hosting
- you need PHP-FPM or full web-server integration rather than CLI/micro binaries
- you rely on extensions not supported by the project's build system
Facets
cli-tool · maturity active
build-tool compiler cli developer-tools developer-tools cross-platform windows cli cross-platform php static-linking portable-binaries phpmicro single-file-executable php-extensions command-line linux macos
2 sources
- readme: https://github.com/crazywhalecc/static-php-cli · fetched 2026-08-28 · 63ff411cce14
- homepage: https://static-php.dev · fetched 2026-08-29 · 17a7cf5d8a9c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| crazywhalecc/static-php-cli | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="crazywhalecc/static-php-cli")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem