PHPackages                             asgrim/example-pie-extension - 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. asgrim/example-pie-extension

ActivePhp-ext[Utility &amp; Helpers](/categories/utility)

asgrim/example-pie-extension
============================

Example PIE extension

2.0.9(6mo ago)8418.8k↓24%3[1 issues](https://github.com/asgrim/example-pie-extension/issues)MITCPHP &gt;=7.4,^8.0CI passing

Since Apr 24Pushed 2w ago1 watchersCompare

[ Source](https://github.com/asgrim/example-pie-extension)[ Packagist](https://packagist.org/packages/asgrim/example-pie-extension)[ RSS](/packages/asgrim-example-pie-extension/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)DependenciesVersions (22)Used By (0)

Example PIE extension
=====================

[](#example-pie-extension)

This an example PHP module that can be installed using PIE.

Build it
--------

[](#build-it)

### Linux

[](#linux)

The usual process applies...

```
PHPIZE=/usr/bin/phpize7.1
PHP_CONFIG=/usr/bin/php-config7.1
make clean
$PHPIZE --clean
$PHPIZE --force
./configure --enable-example-pie-extension --with-php-config=$PHP_CONFIG
make
make test

```

### Windows

[](#windows)

#### Prepare Windows build environment:

[](#prepare-windows-build-environment)

- Read this guide to put below into context: [https://wiki.php.net/internals/windows/stepbystepbuild\_sdk\_2](https://wiki.php.net/internals/windows/stepbystepbuild_sdk_2)
- Read this guide to help get the environment set up:
- PHP Binary tools - use  (**not** the Microsoft one as it is not maintained)
- Once the VS tools + php-sdk-binary-tools is installed, everything is done in this shell:
    - Start &gt; `Developer Command Prompt for VS 2019`
    - Then `cd C:\php-sdk`
    - Then `phpsdk-vs16-x64.bat` - you should now have a prompt `$ `
- Install PHP from
    - Download, e.g. ZTS build,
    - Extract into `C:\php` for example
- Prepare to compile the ext
    - Download "Development package" from  - make sure TS/NTS depending on above compilation
        - e.g.
    - Extract to `C:\php-sdk\php-8.3.6-devel-vs16-x64`
    - Add `C:\php-sdk\php-8.3.6-devel-vs16-x64` to your PATH (Start &gt; `env` &gt; Environment variables &gt; "Path" &gt; New)
    - restart the shell

#### Compile the extension

[](#compile-the-extension)

```
phpize
configure --enable-example-pie-extension --enable-debug --with-php-build="C:\php-sdk\phpdev\vs16\x64\deps" --with-prefix="C:\php\"
nmake
nmake run ARGS="-m"

```

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance81

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.8% 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 ~40 days

Recently: every ~33 days

Total

17

Last Release

196d ago

Major Versions

1.1.0-beta.1 → 2.0.02024-10-01

PHP version history (3 changes)1.0.1-alpha.3PHP &gt;=8.3,&lt;8.4

2.0.0PHP &gt;=7.4,&lt;8.4

2.0.1PHP &gt;=7.4,^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2734194006e4987a8e12379a63b4f6c0a4478b5818ea7ce677499b1f714a92d2?d=identicon)[asgrim](/maintainers/asgrim)

---

Top Contributors

[![asgrim](https://avatars.githubusercontent.com/u/496145?v=4)](https://github.com/asgrim "asgrim (45 commits)")[![thecaliskan](https://avatars.githubusercontent.com/u/13554944?v=4)](https://github.com/thecaliskan "thecaliskan (1 commits)")

### Embed Badge

![Health badge](/badges/asgrim-example-pie-extension/health.svg)

```
[![Health](https://phpackages.com/badges/asgrim-example-pie-extension/health.svg)](https://phpackages.com/packages/asgrim-example-pie-extension)
```

###  Alternatives

[lidongyooo/laravel-idempotent

laravel idempotent

132.2k](/packages/lidongyooo-laravel-idempotent)

PHPackages © 2026

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