CopernicaMarketingSoftware/PHP-CPP
Library to build PHP extensions with C++ observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 91
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: 44.5
- age_days: 4757
- days_rel: 58
- days_push: 58
- n_releases_24m: 13
Adoption not part of the score
1452 stars · 336 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PHP-CPP is a C++ library for building native PHP extensions without needing deep knowledge of the Zend engine internals. It uses C++11 features to automatically convert parameters and return values between PHP variables and native C++ types.
Use cases
- write PHP extensions in C++
- speed up slow PHP algorithms with native code
- expose C++ functions and classes to PHP scripts
- avoid writing raw Zend engine C code
- build custom PHP classes with magic methods in C++
- create high-performance PHP libraries
When to choose
- you need native performance for CPU-bound PHP workloads
- you want to write extensions in C++ instead of Zend C macros
- you want automatic type conversion between PHP and C++ values
When to avoid
- you only need simple PHP scripting without native code
- you target PHP versions or platforms the library does not support
- you prefer FFI or other extension approaches like Zephir
Facets
library · maturity stable
sdk developer-tools developer-tools programming-languages performance cpp cross-platform php php-extensions zend-engine native-code c++11 bindings linux macos
6 sources
- readme: https://github.com/CopernicaMarketingSoftware/PHP-CPP · fetched 2026-08-28 · 9b7697e2e417
- homepage: http://www.php-cpp.com/ · fetched 2026-08-29 · 546571ccbea4
- site_page: https://www.php-cpp.com:443/documentation/ten-reasons-for-using-php-cpp · fetched 2026-08-29 · 5de6af6c3d65
- site_page: https://www.php-cpp.com:443/documentation · fetched 2026-08-29 · 4f3a8d86e179
- site_page: https://www.php-cpp.com:443/about · fetched 2026-08-29 · 73aa66e6702b
- site_page: https://www.php-cpp.com:443/documentation/bubblesort · fetched 2026-08-29 · 6351b2f07c1c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| CopernicaMarketingSoftware/PHP-CPP | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="CopernicaMarketingSoftware/PHP-CPP")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem