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 1y 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 4d 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

28

—

LowBetter than 54% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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

1578d 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

[civicrm/civicrm-core

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

728272.9k20](/packages/civicrm-civicrm-core)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[symfony/object-mapper

Provides a way to map an object to another object

34885.7k18](/packages/symfony-object-mapper)[vaimo/composer-changelogs

Provide information about package changes based on changelog files that are bundled with releases; provide tools for generating documentation files from changelog sources

11150.5k10](/packages/vaimo-composer-changelogs)

PHPackages © 2026

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