Efficient PHP library for Git operations, providing powerful functionalities for version control and repository management.
Current Version: 3.13.2
Last Updated: 2025-02-11
PHP Requirement: >=8.0
Dependencies: None
Package Description
The sebastianfeldmann/git PHP library offers a comprehensive set of tools for seamless integration and interaction with Git repositories. With advanced features and robust capabilities, this library simplifies version control tasks, facilitating efficient development workflows. From basic commits to complex branching strategies, this library streamlines Git operations, enhancing productivity and collaboration within development teams.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/sebastianfeldmann/git/3.14.2/loader.php';
require_once 'libs/vendor/dependency1/{lib_version}/loader.php';
require_once 'libs/vendor/dependency2/{lib_version}/loader.php';
use SebastianFeldmann\Git\GitRepository;
use SebastianFeldmann\Git\Commit;
$obj = new GitRepository();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.