SkillAgentSearch skills...

Phpx

C++ wrapper for Zend API

Install / Use

/learn @swoole/Phpx
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<h1 align=center> <img width="400" alt="Swoole Logo" src="logo.png" /> </h1>

Twitter Discord Build Status License Latest Release Codecov

C++ wrapper for Zend API

Requirements

  • PHP 8.1 or later
  • Linux/macOS/Windows
  • GCC 4.8 or later
  • Composer

Build libphpx.so

cmake .
make -j 4
sudo make install
sudo ldconfig

Create Project

# extension
composer create-project swoole/phpx-ext test

Generate ArgInfo & Function Entires

php vendor/swoole/phpx/bin/gen_stub.php your_stub_dir

Build extension

cd test
cmake .
make -j 4
make install

Load your extension

Edit php.ini, add extension=test.so

Run

php echo.php
View on GitHub
GitHub Stars847
CategoryDevelopment
Updated1d ago
Forks103

Languages

C++

Security Score

95/100

Audited on Mar 27, 2026

No findings