Skip to content

Create and use Composer virtual package for interface implementations #81

@elazar

Description

@elazar

The psr/log package defines PSR-3 interfaces and has a corresponding psr/log-implementation virtual package. Interface implementations can specify the latter in the provide property of their respective composer.json files, which makes it possible to easily search Composer package repositories (e.g. Packagist) for those interface implementations.

In the same way, this project could have adapters specify a virtual package for implementations of TemplateRendererInterface (e.g. schranz-templating/template-renderer-implementation) to make it easier to search for, locate, and list them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions