PHPackages                             m3m0r7/pnl - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. m3m0r7/pnl

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

m3m0r7/pnl
==========

PHP native-library extension manager: FFI runtime SDK plus the pnl/pnlx CLI built from the bundled Rust sources on install.

v0.1.7(today)20MITRustPHP &gt;=8.2CI passing

Since Jun 9Pushed todayCompare

[ Source](https://github.com/m3m0r7/pnl)[ Packagist](https://packagist.org/packages/m3m0r7/pnl)[ Docs](https://github.com/m3m0r7/pnl)[ RSS](/packages/m3m0r7-pnl/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (5)Versions (9)Used By (0)

pnl
===

[](#pnl)

[日本語版](README.ja.md)

**pnl makes it easy to use C libraries from PHP.** It installs library "packages", finds the C library and headers already on your machine, generates PHP wrappers plus a small Rust bridge, compiles the bridge, and exposes everything through the `Pnlx` PHP SDK — think Composer, but for C libraries.

```
pnl init
pnl find 'lib*'      # browse available packages (default repo + your own)
pnl install libc
pnl list 'lib*'      # show what you have installed
```

See the [Quick Start](docs/en/quick-start.md) to call C `printf` from PHP in a minute.

Documentation
-------------

[](#documentation)

- [Overview](docs/en/overview.md) — What pnl is, how it works, and project status.
- [Quick Start](docs/en/quick-start.md) — Call C `printf` from PHP in a few commands.
- [Installation](docs/en/installation.md) — Requirements and building/installing the binaries.
- [Configuration](docs/en/configuration.md) — Project layout and writing `pnl.json`.
- [Install Sources](docs/en/install-sources.md) — URLs, paths, bare names, archives, and native discovery.
- [Commands](docs/en/commands.md) — `pnl` and `pnlx` command reference.
- [PHP Usage](docs/en/php-usage.md) — Loading extensions and the generated files.
- [Development](docs/en/development.md) — Validation, testing, and the JSON schemas.

The default package repository is ****, which publishes a `repository-index.json` so `pnl find` can browse it without cloning.

License
-------

[](#license)

This repository is currently marked as MIT in `composer.json`. The bundled C libraries keep their own upstream licenses; see the package manifests and READMEs at `https://github.com/m3m0r7/pnl-packages`.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance100

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

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 ~0 days

Total

8

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1282995?v=4)[memory](/maintainers/m3m0r7)[@m3m0r7](https://github.com/m3m0r7)

---

Top Contributors

[![m3m0r7](https://avatars.githubusercontent.com/u/1282995?v=4)](https://github.com/m3m0r7 "m3m0r7 (14 commits)")

---

Tags

ffiphprust

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/m3m0r7-pnl/health.svg)

```
[![Health](https://phpackages.com/badges/m3m0r7-pnl/health.svg)](https://phpackages.com/packages/m3m0r7-pnl)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74694.9M935](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M526](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.0M193](/packages/drupal-core-project-message)[sandersander/composer-link

Adds ability to link local packages for development with composer

94441.4k](/packages/sandersander-composer-link)[phpro/grumphp-shim

GrumPHP Phar distribution

284.6M333](/packages/phpro-grumphp-shim)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41759.2k3](/packages/lullabot-drainpipe)

PHPackages © 2026

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