PHPackages                             auroro/composer - 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. auroro/composer

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

auroro/composer
===============

Composer script resolution utilities

v0.5.1(3mo ago)061MITPHPPHP &gt;=8.3

Since Mar 15Pushed 1mo agoCompare

[ Source](https://github.com/next-press/composer)[ Packagist](https://packagist.org/packages/auroro/composer)[ RSS](/packages/auroro-composer/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (8)Versions (8)Used By (1)

auroro/composer
===============

[](#aurorocomposer)

Composer script resolution utilities for PHP.

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

[](#installation)

```
composer require auroro/composer
```

Usage
-----

[](#usage)

`ScriptResolver` resolves Composer script references (`@` prefixes) into executable shell commands.

```
use Auroro\Composer\ScriptResolver;

$resolver = new ScriptResolver(
    scripts: [
        'test' => 'vendor/bin/pest',
        'check' => ['@test', '@php vendor/bin/phpstan analyse'],
    ],
    bin: ['bin/lens'],
);

$resolver->resolve('@test');              // "vendor/bin/pest"
$resolver->resolve('@check');             // "vendor/bin/pest && php vendor/bin/phpstan analyse"
$resolver->resolve('@lens audit');        // "bin/lens audit"
$resolver->resolve('@putenv APP_ENV=ci'); // "export APP_ENV=ci"
```

### Supported prefixes

[](#supported-prefixes)

PrefixResolves to`@php``php``@composer``composer``@putenv KEY=VAL``export KEY=VAL``@binname`Matching bin entry path`@scriptname`Recursive script resolutionComposer callbacks (`ClassName::method`) and modifier directives (`@no_additional_args`) are automatically stripped.

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance88

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

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

Total

7

Last Release

99d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4679684?v=4)[Arindo Duque](/maintainers/aanduque)[@aanduque](https://github.com/aanduque)

---

Top Contributors

[![aanduque](https://avatars.githubusercontent.com/u/4679684?v=4)](https://github.com/aanduque "aanduque (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[ovunctukenmez/samesite-cookie-setter

This class enables samesite cookies.

1114.4k](/packages/ovunctukenmez-samesite-cookie-setter)

PHPackages © 2026

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