godruoyi/rust-php-extension-sample
最新稳定版本:v0.0.8
Composer 安装命令:
composer require godruoyi/rust-php-extension-sample
包简介
Installation script for sample rust php extension
README 文档
README
This is a test project, mainly used to explore how to install PHP extensions that are written in Rust. The goal is to create a Composer package that can install the PHP extension directly without using PECL or PIE.
Installation
First, install this package:
composer require godruoyi/rust-php-extension-sample
Then, install the PHP extension by running the following command:
vendor/bin/install-sample-extension
Risks
- Package maintainers need to provide pre-compiled binaries for different platforms and PHP versions.
- These pre-compiled binary files need to be saved in a certain location, currently GitHub seems to be the most suitable option that can be published with the code repository when new releases are created.
- The operation of installing the extension is divided into two steps, which may cause confusion for some users.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-23