Registry / utility / sebastian-git

sebastian-git

JSON →
library2.1.4phppackagistunverified

Simple wrapper for Git operations.

composer require sebastian/git
INSTALL
IMPORT
SIG · SEBASTIAN-GIT
S
sebastian-git
utilityphpv2.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Git
use SebastianBergmann\Git\Git;

List branches of a Git repository.

use SebastianBergmann\Git\Git; $git = new Git('/path/to/repo'); $branches = $git->getBranches(); print_r($branches);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
sebastian-git — pip install sebastian-git · libregistry