artarts36 / git-handler
Git Handler
1.3.4
2023-03-03 14:39 UTC
Requires
- php: >=7.3
- artarts36/file-system-contracts: 0.2.0
- artarts36/local-file-system: ^0.1.1
- artarts36/shell-command: ^2.1.13
- artarts36/str: ^2.0.1
- guzzlehttp/psr7: ^1.8 | ^2
- psr/http-client: ^1.0
Requires (Dev)
- composer/package-versions-deprecated: 1.11.99.2
- guzzlehttp/guzzle: ^7.3
- infection/infection: ^0.18.2
- jetbrains/phpstorm-attributes: ^1.0
- phpdocumentor/reflection: ^5.3
- phpstan/phpstan: ^0.12.96
- phpunit/phpunit: ^9.3
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2026-05-29 01:50:51 UTC
README
Description:
Tool for work with Git in PHP
Installation:
composer require artarts36/git-handler
Features
- Git Archive
- Git Attributes
- Git Backup (dump and restore git features)
- Git Branches
- Git Commits
- Git Config (set, get list, ...)
- Git Files
- Git Garbage Collector
- Git Grep
- Git Help
- Git Hooks
- Git Ignore Files (.gitignore)
- Git Index: (git add, git reset, git rm, ...)
- Git Init
- Git Log
- Git Merge
- Git Paths (info-path, html-path, man-path, ...)
- Git Pull
- Git Push
- Git Remote (add, show, remove, ...)
- Git Stash
- Git Status
- Git Submodule
- Git Tags
- Git Transactions
- Git fetch (git fetch, git fetch --all, ...)
- Download
Extensions
- artarts36/git-handler-remote - Work with git repository on remote server
Development
| Command | Description |
|---|---|
| composer lint | Check code on PSR |
| composer stat-analyse | Run stat analyse |
| composer test | Run tests |
| composer mutate-test | Run mutation testing |
| composer build-docs | Build documentation |
| composer check-docs-actual | Check Documentation is actually |
| composer build-changelog | Build CHANGELOG.MD |
Count of code
| Type | Files' count | Code lines' count |
|---|---|---|
| Source | 209 | 7803 |
| Tests | 129 | 7681 |