Registry / utility / gitonomy-gitlib

gitonomy-gitlib

JSON →
library1.6.0phppackagistunverified

Library for accessing git repositories programmatically.

utility
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.

use Gitonomy\Git\Repository;

Opens a git repository and lists the last 5 commit subjects.

use Gitonomy\Git\Repository; $repo = new Repository('/path/to/repo'); $log = $repo->getLog('master', null, 5); foreach ($log as $commit) { echo $commit->getSubject() . "\n"; }
Debug
Known footguns
gotchaRequires the git binary to be installed and accessible in the system PATH.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
gptbot
3
claudebot
3
Resources