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

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

fastframe/composer-packages
===========================

Composer plugin to lookup vendor package roots

0.6(4y ago)011[1 PRs](https://github.com/fastframe/composer-packages/pulls)MITPHPPHP ^7.2 || ^8.0

Since Feb 25Pushed 2y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (7)Versions (9)Used By (0)

FastFrame Composer Packages Plugin
==================================

[](#fastframe-composer-packages-plugin)

This plugin provides an easy method of determining the installation path, name, version, and extra attributes of a given Composer package, by name.

Use this to locate vendor package roots. Most of the times this is going to be used for template files, or other types of assets that you want to get from a package.

Running `composer install` or `composer update` will trigger the Packages.php to be generated, this contains a registry of the package installation paths as well as their types.

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

[](#installation)

`composer require fastframe/composer-packages`

Usage
-----

[](#usage)

```
$container = new FastFrame\Composer\Packages\Container();
$container->has('fastframe/composer-packages'); // true
$container->has('non-existent/package'); // false

$pkg = $container->get('fastframe/composer-packages'); // Package object

// Package object
$pkg->name();         // fastframe/composer-packages
$pkg->type();         // composer-plugin
$pkg->version();      // 1.0.0.0
$pkg->path();         // {root_path}/vendor/fastframe/composer-packages
$pkg->extra();        // array('class' => 'FastFrame\\Composer\\Packages\\Plugin')
$pkg->composerJson(); // the json decoded composer.json contents from the package

// finding all packages of a specific type
$composer_plugins = $container->getByType('composer-plugins'); // array('fastframe-composer-packages')
```

Inspiration
-----------

[](#inspiration)

This plugin was inspired by:

- [ocramius/package-versions](https://github.com/Ocramius/PackageVersions)
- [mindplay/composer-locator](https://github.com/mindplay-dk/composer-locator)

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 95.2% 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 ~211 days

Recently: every ~264 days

Total

6

Last Release

1669d ago

PHP version history (2 changes)0.1PHP ^7.1.0

0.5PHP ^7.2 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![dlundgren](https://avatars.githubusercontent.com/u/1322393?v=4)](https://github.com/dlundgren "dlundgren (20 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k464.3M10.5k](/packages/symfony-dependency-injection)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k17.0M1.1k](/packages/phpro-grumphp)[illuminate/contracts

The Illuminate Contracts package.

707133.3M15.1k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31083.8M2.5k](/packages/illuminate-container)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

568591.1k62](/packages/ecotone-ecotone)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5346.5M599](/packages/drupal-core-composer-scaffold)

PHPackages © 2026

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