PHPackages                             m6w6/pharext - 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. m6w6/pharext

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

m6w6/pharext
============

Package PHP extensions as self-installing PHARs

v4.1.4(5y ago)59971BSD-2-ClausePHP

Since Mar 4Pushed 5y ago2 watchersCompare

[ Source](https://github.com/pharext/pharext)[ Packagist](https://packagist.org/packages/m6w6/pharext)[ RSS](/packages/m6w6-pharext/feed)WikiDiscussions master Synced 1mo ago

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

pharext
=======

[](#pharext)

[![Join the chat at https://gitter.im/pharext/pharext](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/pharext/pharext?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Distribute your PHP extension as self-installable phar executable. See

About
-----

[](#about)

You don't need this package to install any `*.ext.phar` extension packages, just run them with php:

```
$ ./pecl_http-2.4.2.ext.phar

```

For a compressed phar, or if the execute permission bit got lost somehow:

```
$ php pecl_http-2.4.2.ext.phar.gz

```

Command help:

```
$ ./pecl_http-2.4.2.ext.phar -h

```

Yields:

```
pharext v3.0.0 (c) Michael Wallner

Usage:

$ ./pecl_http-2.4.2.ext.phar [-hvqs] [-p|-n|-c|-i ]

  -h|--help                                  Display help
  -v|--verbose                               More output
  -q|--quiet                                 Less output
  -p|--prefix                           PHP installation prefix if phpize is not in $PATH, e.g. /opt/php7
  -n|--common-name                      PHP common program name, e.g. php5 or zts-php [php]
  -c|--configure                        Additional extension configure flags, e.g. -c --with-flag
  -s|--sudo []                          Installation might need increased privileges [sudo -S %s]
  -i|--ini                              Activate in this php.ini instead of loaded default php.ini
  --signature                                Show package signature
  --license                                  Show package license
  --name                                     Show package name
  --date                                     Show package release date
  --release                                  Show package release version
  --version                                  Show pharext version
  --enable-propro []                    Whether to enable property proxy support [yes]
  --enable-raphf []                     Whether to enable raphf support [yes]
  --with-http-zlib-dir []               Where to find zlib [/usr]
  --with-http-libcurl-dir []            Where to find libcurl [/usr]
  --with-http-libevent-dir []           Where to find libevent [/usr]

```

If your installation destination needs escalated permissions, have a look at [the `--sudo` option](https://github.com/m6w6/pharext/wiki/Usage-of-*.ext.phar-packages#privileges):

```
Installing propro-1.0.1.ext.phar ...
Running phpize ...
Running configure ...
Running make ...
Running make install ...
Running INI activation ...
Extension already activated ...
Successfully installed propro-1.0.1.ext.phar!
Installing raphf-1.0.5.ext.phar ...
Running phpize ...
Running configure ...
Running make ...
Running make install ...
Running INI activation ...
Extension already activated ...
Successfully installed raphf-1.0.5.ext.phar!
Installing pecl_http-2.4.2.ext.phar ...
Running phpize ...
Running configure ...
Running make ...
Running make install ...
Running INI activation ...
Extension already activated ...
Successfully installed pecl_http-2.4.2.ext.phar!

```

### Prerequisites

[](#prerequisites)

The usual tools you need to build a PHP extension:

- php, phpize and php-config
- make, cc and autotools

A network connection is not needed.

Extension maintainers
---------------------

[](#extension-maintainers)

Download the pharext binary of the [latest release](https://github.com/pharext/pharext/releases/latest).

Be aware that you need the [public key](https://github.com/pharext/pharext/wiki/Public-key) to run official `pharext` releases.

```
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5x9bwisjDBDV/bwDiju2
Ebx4kPir32WwT3+hxV0/qAPclA1WsrpcUJ7BChk+Rlz8ujOcyENTidgI1vj3oUpo
/P9XlLQOSrJHYz+AOg7qwhTe89xIJspS4gHHiXUAmxz0TyCNMbOyrLcjP5CmZdll
n+e3HP8Kfipr4XyWBhsKbdYUZ8Ga6IeFMYzNqCzWazcOasdCpsablmyrfCaZoJ0l
bFald0nF3/YoeYgo3fWb4Md9Xf/grpz8Ocqyq4OY49Vb0/p8FMwzBV6vbVh/eAV/
jrP7L40Jw97nSBrP/5nK8Ylc5BayVRq/HhT3kLMC//zvPjb8xz3ZgVTQrwWTF3Zy
+wIDAQAB
-----END PUBLIC KEY-----

```

Place it as `pharext.pubkey` in the same directory where the `pharext` binary is located. IF you cloned the repository or installed `pharext` through composer, it is already at the right location.

Please have a look at the [wiki](https://github.com/pharext/pharext/wiki), to learn [how to use](https://github.com/pharext/pharext/wiki/Usage-of-the-pharext-packager) the pharext installer to package self-installing PHP extensions.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 99.3% 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 ~165 days

Recently: every ~490 days

Total

14

Last Release

1941d ago

Major Versions

v1.1.0 → v2.0.02015-03-09

v2.0.1 → v3.0.02015-03-30

v3.0.1 → v4.0.02015-05-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aba95ff5669114af00bd2d49612ffab9e4a29312c00062abef657fec7a2f122?d=identicon)[m6w6](/maintainers/m6w6)

---

Top Contributors

[![m6w6](https://avatars.githubusercontent.com/u/1265282?v=4)](https://github.com/m6w6 "m6w6 (145 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

---

Tags

extensionpeclpharphppackagepharextensionextinstall

### Embed Badge

![Health badge](/badges/m6w6-pharext/health.svg)

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

###  Alternatives

[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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