PHPackages                             mimmi20/macos-build - 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. mimmi20/macos-build

ActiveLibrary

mimmi20/macos-build
===================

Class wrapper for peterkahl/apple-os-x-build-version

5.0.3(4mo ago)2245.6k↑35.7%11MITPHPPHP ~8.4.0 || ~8.5.0CI passing

Since Jun 23Pushed 2mo agoCompare

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

READMEChangelog (10)Dependencies (17)Versions (40)Used By (1)

macos-build
===========

[](#macos-build)

[![Latest Stable Version](https://camo.githubusercontent.com/94a0f548610760e582c37bcb75856b2d5745ad4f3b8babb357f8af1292000cec/68747470733a2f2f706f7365722e707567782e6f72672f6d696d6d6932302f6d61636f732d6275696c642f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/mimmi20/macos-build)[![Latest Unstable Version](https://camo.githubusercontent.com/0b8a308c4b9d9214a82daeaedfb41b76de6da310d211c5c6bc64c09664f81cc7/68747470733a2f2f706f7365722e707567782e6f72672f6d696d6d6932302f6d61636f732d6275696c642f762f756e737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/mimmi20/macos-build)[![License](https://camo.githubusercontent.com/4800b9440e2251f8d6cf773c4aa64aafd5ee8e6e0b6746cdd769bbd543633c44/68747470733a2f2f706f7365722e707567782e6f72672f6d696d6d6932302f6d61636f732d6275696c642f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/mimmi20/macos-build)

Code Status
-----------

[](#code-status)

[![codecov](https://camo.githubusercontent.com/80c6d879330969386dd950b9e6492bc6cee7e651a73c67a0b6d00a0e6335909e/68747470733a2f2f636f6465636f762e696f2f67682f6d696d6d6932302f6d61636f732d6275696c642f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/mimmi20/macos-build)[![Test Coverage](https://camo.githubusercontent.com/42b435de1ff8e6512cc81fe4f476ecde031e53523b94ce19a2fb17c931e18cdb/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38623961643532303963373737666661613161392f746573745f636f766572616765)](https://codeclimate.com/github/mimmi20/macos-build/test_coverage)[![Average time to resolve an issue](https://camo.githubusercontent.com/da242a7992db089f20227ac8ef94c522b926bd4e9514c2be01220063709fdf53/68747470733a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f6d696d6d6932302f6d61636f732d6275696c642e737667)](https://isitmaintained.com/project/mimmi20/macos-build "Average time to resolve an issue")[![Percentage of issues still open](https://camo.githubusercontent.com/b67ebc2596e1a2225f4a01fdca258512aa59cd4db8fc20e127c1fcd3db6d48ba/68747470733a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f6d696d6d6932302f6d61636f732d6275696c642e737667)](https://isitmaintained.com/project/mimmi20/macos-build "Percentage of issues still open")[![Mutation testing badge](https://camo.githubusercontent.com/43f5cff5cb333be1a7c38c99008b95fb3dc51a1196278c6ab6463db4707e4ea7/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466d696d6d6932302532466d61636f732d6275696c642532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/mimmi20/macos-build/master)[![Maintainability](https://camo.githubusercontent.com/a3fc75028e048bbde4b5d8c3e54f4b031bfd9f595e187c863449fdde753c09f5/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38623961643532303963373737666661613161392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/mimmi20/macos-build/maintainability)

Requirements
------------

[](#requirements)

This library requires PHP 8.1+.

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

[](#installation)

Run the command below to install via Composer

```
composer require mimmi20/macos-build
```

Usage
-----

[](#usage)

```
$build   = new \MacosBuild\MacosBuild();
$version = $build->getVersion($code);
```

Issues and feature requests
---------------------------

[](#issues-and-feature-requests)

Please report your issues and ask for new features on the GitHub Issue Tracker at

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance83

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50.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 ~66 days

Recently: every ~39 days

Total

37

Last Release

122d ago

Major Versions

1.0.12 → 2.0.02021-03-07

2.0.8 → 3.0.02023-07-27

3.0.7 → 4.0.02024-11-16

4.0.2 → 5.0.02025-08-13

PHP version history (9 changes)1.0.0PHP ^7.1

1.0.5PHP ^7.1.3 || ^8.0.0

2.0.0PHP ^7.4.0 || ^8.0.0

2.0.3PHP ^7.4.7 || ^8.0.0

2.0.4PHP ^7.4.3 || ^8.0.0

3.0.0PHP ^8.1.0

3.0.6PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

4.0.0PHP ~8.3.0 || ~8.4.0 || ~8.5.0

5.0.0PHP ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fea77dd303122241a6caac15ea7456607bcb6f5db869fc8fc9eaf3ec0630a84?d=identicon)[mimmi20](/maintainers/mimmi20)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (425 commits)")[![mimmi20](https://avatars.githubusercontent.com/u/1120192?v=4)](https://github.com/mimmi20 "mimmi20 (244 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (153 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (15 commits)")

---

Tags

php84

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mimmi20-macos-build/health.svg)

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

PHPackages © 2026

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