PHPackages                             phpacker/phpacker - 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. phpacker/phpacker

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

phpacker/phpacker
=================

Package a PHP script as a standalone cross-platform binary. Convenience wrapper around static-php &amp; phpmicro using general-purpose php binaries

0.6.4(6mo ago)4114.2k↓36.5%6[2 issues](https://github.com/phpacker/phpacker/issues)[1 PRs](https://github.com/phpacker/phpacker/pulls)2MITPHPCI failing

Since Mar 3Pushed 6mo ago5 watchersCompare

[ Source](https://github.com/phpacker/phpacker)[ Packagist](https://packagist.org/packages/phpacker/phpacker)[ GitHub Sponsors](https://github.com/gwleuverink)[ RSS](/packages/phpacker-phpacker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (32)Used By (2)

[![PHPacker](https://github.com/phpacker/phpacker/raw/main/art/readme-logo.jpg?raw=true)](https://github.com/phpacker/phpacker/blob/main/art/readme-logo.jpg?raw=true)

[![tests](https://github.com/phpacker/phpacker/actions/workflows/pest.yml/badge.svg)](https://github.com/phpacker/phpacker/actions/workflows/pest.yml)[![analyze](https://github.com/phpacker/phpacker/actions/workflows/phpstan.yml/badge.svg)](https://github.com/phpacker/phpacker/actions/workflows/phpstan.yml)[![format](https://github.com/phpacker/phpacker/actions/workflows/pint.yml/badge.svg)](https://github.com/phpacker/phpacker/actions/workflows/pint.yml)[![Latest Version on Packagist](https://camo.githubusercontent.com/dd698ef1c8e37ff0680592c09d6ee5c00e56299fe4ba1652003db6b6e27a3aca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70687061636b65722f70687061636b65722e737667)](https://packagist.org/packages/phpacker/phpacker)[![License](https://camo.githubusercontent.com/4d8788d8efc7ea3c7dbc1666ff37fa46bbe83f6f6901220560c7999449038376/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70687061636b65722f70687061636b65722e737667)](LICENSE.md)

PHPacker enables you to package any PHP script or PHAR into a standalone, cross-platform executable. It handles all the complexity of bundling PHP with your application, making distribution simple and hassle-free.

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

[](#documentation)

You can read the official documentation on the [PHPacker website](https://phpacker.dev).

Installation
------------

[](#installation)

You can install PHPacker globally via Composer:

```
composer global require phpacker/phpacker
```

Or as a project dependency:

```
composer require phpacker/phpacker --dev
```

Quick Start
-----------

[](#quick-start)

Build a standalone executable from your PHP script with a single command:

```
phpacker build --src=./app.phar
```

Contributing
------------

[](#contributing)

Contributions are welcome! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.

Support
-------

[](#support)

- [Documentation](https://phpacker.dev/docs)
- [GitHub Issues](https://github.com/phpacker/phpacker/issues)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance67

Regular maintenance activity

Popularity42

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98.1% 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 ~13 days

Recently: every ~29 days

Total

20

Last Release

192d ago

Major Versions

0.6.3 → v1.x-dev2025-11-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/9531bf1fdbe178d3a5129b81e61b70be81359ebf10ce3f282705a8275b4bd31d?d=identicon)[gwleuverink](/maintainers/gwleuverink)

---

Top Contributors

[![gwleuverink](https://avatars.githubusercontent.com/u/17123491?v=4)](https://github.com/gwleuverink "gwleuverink (206 commits)")[![binaryfire](https://avatars.githubusercontent.com/u/5361908?v=4)](https://github.com/binaryfire "binaryfire (1 commits)")[![dv336699](https://avatars.githubusercontent.com/u/930792?v=4)](https://github.com/dv336699 "dv336699 (1 commits)")[![leonboot](https://avatars.githubusercontent.com/u/1777675?v=4)](https://github.com/leonboot "leonboot (1 commits)")[![SRWieZ](https://avatars.githubusercontent.com/u/1408020?v=4)](https://github.com/SRWieZ "SRWieZ (1 commits)")

---

Tags

cross-platformphptooling

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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