PHPackages                             godruoyi/rust-php-extension-sample - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. godruoyi/rust-php-extension-sample

ActiveLibrary

godruoyi/rust-php-extension-sample
==================================

Installation script for sample rust php extension

v0.0.8(1y ago)341MITPHPPHP &gt;=8.1CI passing

Since Mar 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/godruoyi/rust-php-ext-sample)[ Packagist](https://packagist.org/packages/godruoyi/rust-php-extension-sample)[ RSS](/packages/godruoyi-rust-php-extension-sample/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

PHP Extension Installer
=======================

[](#php-extension-installer)

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
------------

[](#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
-----

[](#risks)

1. Package maintainers need to provide pre-compiled binaries for different platforms and PHP versions.
2. 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.
3. The operation of installing the extension is divided into two steps, which may cause confusion for some users.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance46

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

8

Last Release

416d ago

PHP version history (2 changes)v0.0.1PHP &gt;=8.2

v0.0.2PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5520e5d6782001b3417724a0d5942bb9bfc6885f5aac48d5e69891ef3240141d?d=identicon)[godruoyi](/maintainers/godruoyi)

---

Top Contributors

[![godruoyi](https://avatars.githubusercontent.com/u/16079222?v=4)](https://github.com/godruoyi "godruoyi (35 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/godruoyi-rust-php-extension-sample/health.svg)

```
[![Health](https://phpackages.com/badges/godruoyi-rust-php-extension-sample/health.svg)](https://phpackages.com/packages/godruoyi-rust-php-extension-sample)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
