xylemical/composer-class-discovery

Provides class discovery for composer.

dev-master 2022-07-01 03:54 UTC

This package is auto-updated.

Last update: 2024-04-29 04:47:53 UTC


README

Provides composer discovery with class discovery.

Install

The recommended way to install this library is through composer.

composer require xylemical/composer-class-discovery

Usage

Getting the sources from the class discovery can be done with the following:

use Xylemical\Composer\ClassDiscovery\ClassDiscoveryStorage;

$storage = new ClassDiscoveryStorage();
$sources = $storage->get('Interface/or/Trait/or/Class/Name');

License

MIT, see LICENSE.