devshop/composer-common

Tools useful for any composer-based project.

1.7.0-alpha4 2020-10-07 21:12 UTC

This package is auto-updated.

Last update: 2024-10-28 01:04:08 UTC


README

The DevShop Composer Common component contains code that might be useful for any composer-based project.

Tools

GitRepositoryAwareTrait

A PHP Trait that gives any class awareness of the Git Repository it resides in using the PHP Stream Wrapper for Git from https://github.com/teqneers/PHP-Stream-Wrapper-for-Git.

GitHubRepositoryAwareTrait

Includes GitRepositoryAwareTrait and parses GitHub Repo URLs to allow methods getRepoOwner() and getRepoName().

Resources

Credits

$CREDITS