Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bartfeenstra/composer-package-locator


https://github.com/bartfeenstra/composer-package-locator

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Composer Package Locator

[![Build Status](https://travis-ci.org/bartfeenstra/composer-package-locator.svg?branch=master)](https://travis-ci.org/bartfeenstra/composer-package-locator)

This package allows other Composer packages to retrieve information about all installed Composer packages, regardless of
vendor directory and package installation paths.

## Usage
Add a dependency on this package to your project by running
`composer require bartfeenstra/composer-package-locator:0.3.*`.

To find all installed files, simply create an instance of
`\BartFeenstra\ComposerPackageLocator\InstalledFileSystemRepository` and use it like any other
`\Composer\Repository\InstalledRepositoryInterface`.