crazywhalecc/static-php-cli
Build standalone portable PHP binaries on Linux, macOS, Windows, with PHP project together, with popular extensions included. observed · 2026-10-16
Health v2 · maintenance only
90/100
- Activity 100
- Release rhythm 72
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 14.0
- age_days: 2003
- days_rel: 185
- days_push: 5
- n_releases_24m: 29
Adoption not part of the score
1946 stars · 420 forks observed · 2026-10-16
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-10-16 · 63ff411cce14
- homepage: https://static-php.dev · fetched 2026-08-29 · 17a7cf5d8a9c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| crazywhalecc/static-php-cli | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="crazywhalecc/static-php-cli")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem