PHPackages                             thefox/macho - 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. thefox/macho

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

thefox/macho
============

PHP script for modifying Mach-O executable i386 and x86\_64 files.

v0.5.0(9y ago)320GPL-3.0PHPPHP ^7.0CI failing

Since Feb 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/TheFox/macho)[ Packagist](https://packagist.org/packages/thefox/macho)[ Docs](https://fox21.at)[ RSS](/packages/thefox-macho/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (8)Versions (7)Used By (0)

MachO
=====

[](#macho)

PHP script for modifying [Mach-O](https://en.wikipedia.org/wiki/Mach-O) 64-bit executable x86\_64 files using PHP.

Project Outlines
----------------

[](#project-outlines)

The project outlines as described in my blog post about [Open Source Software Collaboration](https://blog.fox21.at/2019/02/21/open-source-software-collaboration.html).

- The main purpose of this software is to modify Mach-O 64-bit executable x86\_64 files using PHP.
- This list is open. Feel free to request features.

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

[](#installation)

The preferred method of installation is via [Packagist](https://packagist.org/packages/thefox/macho) and [Composer](https://getcomposer.org/). Run the following command to install the package and add it as a requirement to composer.json:

```
composer require thefox/macho
```

Usage
-----

[](#usage)

To print general informations about a binary executable you can type the following command into your shell:

```
./macho binary --all PATH
```

For example:

```
./macho binary --all
```

Another way to print general informations about a binary executable is to use `dbg.sh` script. This script uses default OS X tools like `nm` and `otool`.

Links
-----

[](#links)

- [Blog Post about Mach-O project](http://blog.fox21.at/2015/02/14/mach-o.html)
- [Packagist Package](https://packagist.org/packages/thefox/macho)

Examples
--------

[](#examples)

Look into [examples](examples) directory to see code examples how to use this in your own project.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Recently: every ~208 days

Total

6

Last Release

3352d ago

PHP version history (3 changes)v0.1.0PHP &gt;=5.3

v0.4.0PHP ~5.3 || ~7.0

v0.5.0PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b879f8d5879bc5cb3a1bc43287d0b26834ffc0f403e1b076375da977fe308c55?d=identicon)[TheFox](/maintainers/TheFox)

---

Top Contributors

[![TheFox](https://avatars.githubusercontent.com/u/353709?v=4)](https://github.com/TheFox "TheFox (111 commits)")

---

Tags

i386machomit-licensephpphp-libraryphp7x86-64binaryx86\_64i386x86MachMachO

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k199.6M3.4k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k257.0M28.0k](/packages/friendsofphp-php-cs-fixer)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k69](/packages/friendsoftypo3-content-blocks)[api-platform/openapi

Models to build and serialize an OpenAPI specification.

425.3M110](/packages/api-platform-openapi)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k17.9k1](/packages/phpactor-phpactor)[eliashaeussler/typo3-solver

Solver - Extends TYPO3's exception handling with AI generated solutions. Problems can also be solved from command line. Several OpenAI parameters are configurable and prompts and solution providers can be customized as desired.

302.1k](/packages/eliashaeussler-typo3-solver)

PHPackages © 2026

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