devshop / git-traits
Traits to make classes git-aware.
Installs: 7 919
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Requires
- php: ^7.1||^8.0
- eloquent/composer-config-reader: ^3.0
- guzzlehttp/guzzle: ^6
- http-interop/http-factory-guzzle: ^1.2
- knplabs/github-api: ^3.9||^1.0
- php-http/discovery: ~1.14.0
- php-http/guzzle6-adapter: ^2.0@dev
- teqneers/php-stream-wrapper-for-git: ^2.0@dev
- dev-feature/composer/git-traits
- 2.x-dev
- 1.x-dev
- 1.8.0-beta3
- 1.8.0-beta2
- 1.8.0-beta1
- 1.8.0-alpha1
- dev-bug/bitbucket-builds
- dev-bug/composer-broke
- dev-bug/composer-install-fails-preserve-paths
- dev-bug/deploy
- dev-bug/deploy-apis
- dev-bug/destroyed
- dev-bug/docker-logs-artifacts
- dev-bug/everything
- dev-bug/failing-again
- dev-bug/fucked-containers
- dev-bug/full-stack-stuff
- dev-bug/last-passing-commit
- dev-bug/little-things
- dev-bug/provision-files
- dev-bug/remote-hosts
- dev-bug/reset
- dev-bug/tasks
- dev-bug/ubuntu-scripts
- dev-bug/unpreserved-paths
- dev-bug/updated-containers
- dev-bug/upgrade
- dev-bugs/beta-blockers
- dev-bugs/various
- dev-component/devshop-behat-extension
- dev-dev/stuff
- dev-feature/ansible/faster
- dev-feature/bitbucket-fixes
- dev-feature/development/lando
- dev-feature/devshop-control-in-root
- dev-feature/devshop-platform
- dev-feature/drupal-10
- dev-feature/hosting_docker
- dev-feature/megamerge
- dev-feature/minor-ansible-improvements
- dev-feature/no-platforms
- dev-feature/php-81-default
- dev-feature/php-intl
- dev-feature/release-docs
- dev-feature/remote-host-container
- dev-feature/site-audit
- dev-feature/ubuntu22
- dev-release-1.8.0-beta1
- dev-release-1.8.0-beta2
- dev-tests/docker/from-devshop-server
- dev-updates/2023-10
- dev-bug/verify-fail-after-install
- dev-bug/verify
- dev-bugs/contrib
- dev-feature/hosting/default_hosting_settings
- dev-bug/build-fast
- dev-bug/docker/actions
- dev-bug/docker/hub
- dev-bug/github/actions
- dev-feature/ansible-tweaks
- dev-feature/linuxserver
- dev-bug/bitbucket/integration
- dev-bug/local/docker-command
- dev-bug/no-drush
- dev-bug/queues
- dev-bug/sync
- dev-dev/github/fixes
- dev-feature/commands
- dev-feature/php/8.1-default
- dev-feature/platform-user
- dev-feature/reinstall
- dev-tests/failing-install
- dev-bug/github/settings-ui
- dev-bug/hosting-queue-runner-commands
- dev-feature/php/8.1
- dev-bug/ansible/detect-site
- dev-bug/docker/no-buildtime-tag
- dev-dev/install/platforms
- dev-feature/docker/hub-publish
- dev-ops/ansible/default-project-vars
- dev-php81
- dev-feature/PHP/8
This package is auto-updated.
Last update: 2024-11-04 12:33:48 UTC
README
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