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-07-28 08:44:22
Last Commit At2025-07-28 16:44:17
Release Count8
Last Release Namev0.4.0 (Posted on )
First Release Namev0.0.1 (Posted on )
用户参与
Stargazers Count829
Watchers Count70
Fork Count102
Commits Count274
Has Issues Enabled
Issues Count53
Issue Open Count1
Pull Requests Count28
Pull Requests Open Count0
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private