NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1235 most downloaded on Packagist
PHP git wrapper
Latest stable
3.16.0
Last release 10 months ago
26 Jan 2026
Release timing varies
gaps range from 8 days to 10 months
Most releases are documented
notes for 38 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
65 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Add Rev functionality and validation
Full Changelog: https://github.com/sebastianfeldmann/git/compare/3.15.3...3.16.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Don't use deprecated methods anymore
Full Changelog: https://github.com/sebastianfeldmann/git/compare/3.14.1...3.14.2
# Changes - Add deprecation warnings Full Changelog: https://github.com/sebastianfeldmann/git/compare/3.14.0...3.14.1
Full Changelog: https://github.com/sebastianfeldmann/git/compare/3.14.0...3.14.1
`php $config = $repo->getConfigOperator(); $vars = $config->getVars(); print_r($vars); `
git var functionality$config = $repo->getConfigOperator();
$vars = $config->getVars();
print_r($vars);
Also supported are
Config::hasVar(string $name): bool
Config::getVar(string $name): string
Config::getVarSafely(string $name, string $default = ''): string
Fix iterable return types
Fix iterable return types
Fixed a typed property access problem
Fixed a typed property access problem
Nothing published for this version
Nothing published for this version
Nothing published for this version
Detect hooks directory by respecting the core.hooksPath config setting
Detect hooks directory by respecting the core.hooksPath config setting
Fixed git fetch command by @pkruithof in https://github.com/sebastianfeldmann/git/pull/43
git fetch command by @pkruithof in https://github.com/sebastianfeldmann/git/pull/43Full Changelog: https://github.com/sebastianfeldmann/git/compare/3.12.0...3.12.1
Add comment access and validation methods
Add comment access and validation methods
Nothing published for this version
Add --diff-filter option to Log
Add --diff-filter option to Log
Add `reflog` functionality to the `LogOperator`
Add reflog functionality to the LogOperator
Nothing published for this version
Add new Info::getRemoteBranches method
Add new Info::getRemoteBranches method
Switched back from short arrow to closure because of PHP 7.2
Switched back from short arrow to closure because of PHP 7.2
Allow to check multiple suffixes at once with Index::getStagedFilesOfTypes
Allow to check multiple suffixes at once with Index::getStagedFilesOfTypes
Nothing published for this version
Nothing published for this version
Nothing published for this version
Allow to filter the diff changed file set by file type (suffix)
Allow to filter the diff changed file set by file type (suffix)
Allow detection of squash and fixup commits
Allow detection of squash and fixup commits
Fix issue #38 - thanks to @Chemiker90
Fix issue #38 - thanks to @Chemiker90
Do not ignore permission errors while validating the HEAD commit
Do not ignore permission errors while validating the HEAD commit
Nothing published for this version
Change the diff-filter from getStagedFiles and getStagedFilesOfType from AM to ACMR
Change the diff-filter from getStagedFiles and getStagedFilesOfType from AM to ACMR
Add new cloning functionality - thanks to @icanhazstring
Add new cloning functionality - thanks to @icanhazstring
$cloner = new Cloner();
$repo = $cloner->clone('git@github.com:sebastianfeldmann/git.git');
...
Nothing published for this version
Make sure the right diff algorithm is used - thanks to @ramsey
Make sure the right diff algorithm is used - thanks to @ramsey
- Add working tree manipulation - Fix diff parsing issues
Add StatusOperator to handle git status based commands
Add StatusOperator to handle git status based commands
Add submodule repository support
Add submodule repository support
Nothing published for this version
Nothing published for this version
Add --unified option to git diff
compareIndexTo feature--unified option to git diffFix some type and coding style issues
Switch from json formatted commit logs to xml formatted commit logs
Switch from json formatted commit logs to xml formatted commit logs
More powerful git log features
More powerful git log features
Nothing published for this version
Add getCurrentBranch method to Info operator
getCurrentBranch method to Info operatorAdd getTagsPointingTo method to Info operator.
Add getTagsPointingTo method to Info operator.
With this you get a list containing all tags that are pointing the the given commit hash. e.g.
$tags = $info->getTagsPointingTo('HEAD');
Nothing published for this version
Nothing published for this version
Add CommitMessage content line getter and count functionality
Add CommitMessage content line getter and count functionality
Add diff-tree commands to DiffOperator
diff-tree commands to DiffOperatorDiffOperator publicly availableNothing published for this version
Nothing published for this version
CommitMessage commentChar can not be null and defaults to # now
commentChar can not be null and defaults to # nowAdd diff operator to compare two versions
Add diff operator to compare two versions
Add new Info operator to get for example the current tag name.
Info operator to get for example the current tag name.Config operator to retrieve all settings.Upgrade cli lib to version 2.0
Upgrade cli lib to version 2.0
Fix issue #5 - thanks to @ktomk
Fix issue #5 - thanks to @ktomk
Add PHP version requirement to composer.json - issue #4
Add PHP version requirement to composer.json - issue #4
One column per quarter.