phpx

? C++ wrapper for Zend API

  • Owner: swoole/phpx
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

PHP-X

Build Status
License

C++ wrapper for Zend API

PHP-X

Requirements

  • PHP 7.0 or later
  • Linux/MacOS/Windows
  • GCC 4.8 or later
  • Composer

Build phpx (bin)

./build.sh

Build libphpx.so

cmake .
make -j 4
sudo make install

Build extension

cd examples/cpp_ext
make 
sudo make install

Load your extension

Edit php.ini, add extension=cpp_ext.so

Run

php echo.php

Main metrics

Overview
Name With Ownerswoole/phpx
Primary LanguageC++
Program languageC++ (Language Count: 6)
Platform
License:Apache License 2.0
所有者活动
Created At2017-05-18 08:30:22
Pushed At2025-10-09 04:11:08
Last Commit At2025-10-09 12:11:04
Release Count12
Last Release Namev2.0.3 (Posted on )
First Release Namev0.0.1 (Posted on )
用户参与
Stargazers Count845
Watchers Count71
Fork Count102
Commits Count310
Has Issues Enabled
Issues Count53
Issue Open Count0
Pull Requests Count29
Pull Requests Open Count0
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private