Skip to content

devshop-packages/git-traits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Traits

The Git Traits package makes it easy to make your classes aware of the git repos they reside in.

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages