bit3/git-php
PHP library for working with Git repositories from code. Execute common Git commands, inspect repository state, and script Git operations with a simple API—useful for automation, deployment tools, and integrations that need Git access without shelling out manually.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| directorytree/git | 0.90 | Lightweight PHP wrapper for running Git commands on a server. Supports pull, fetch, reset (hard/soft), and remote management (get/get all/add/set URL). Requires PHP 7.3+ and a working directory set to your repo via chdir(). | 24 | 24 | 1 | 0 | 0 | 0.8 | — | MIT | 2 years ago | |
| symplify/git-wrapper | 0.88 | — | 0 | 36 | — | 997 | — | 0.0 | 41.4 | — | — | |
| cypresslab/gitelephant | 0.88 | GitElephant is a PHP OOP wrapper around the git CLI for managing repositories: inspect commits, branches, tags, diffs, logs, and statuses, and run common git operations via a clean API. Supports git >=1.8, PHP >=7.2 (older PHP via prior versions). | 613 | 618 | 74 | 47K | 17 | 19.3 | 31.1 | LGPL-3.0 | 1 year ago | |
| alessandro_podo/git-changelog-generator | 0.87 | — | 0 | 0 | 0 | 52 | 0 | 0.0 | 23.8 | — | — | |
| zirolab/code-review | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| gitonomy/gitlib | 0.87 | Gitonomy Gitlib is a PHP library for interacting with Git repositories programmatically. Read commits, trees, branches, tags and diffs; run Git commands via a clean API and work with local repos from your apps, tools, or CI scripts. | 465 | 470 | 74 | 371K | 13 | 16.9 | 44.4 | MIT | 1 year ago | |
| dontdrinkandroot/gitki-bundle | 0.86 | — | 9 | 9 | 2 | 0 | 17 | 6.7 | 6.0 | Apache-2.0 | 8 years ago | |
| disparity/deployment-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| phpcq/branch-alias-validation | 0.86 | — | 0 | 0 | 1 | 193 | 1 | 0.1 | 19.8 | MIT | — | |
| darkikim/git-helper | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| m4tthumphrey/php-gitlab-api | 0.85 | Modern GitLab API v4 client for PHP 8.1–8.5. Provides a clean, feature-rich wrapper around GitLab endpoints with PSR-18 HTTP client and PSR-17 factories support, plus maintained releases, changelog, and strong community tooling. | 952 | 956 | 456 | 128K | 1 | 43.1 | 33.4 | MIT | 2 months ago | |
| arafat69/laravel-repository | 0.85 | — | 0 | 1 | 0 | 376 | 0 | 10.3 | 38.2 | MIT | 7 months ago | |
| sebastianfeldmann/git | 0.84 | PHP library to access and interact with Git repositories. Provides a simple API for common Git commands and info (status, log, branches, tags), ideal for build scripts, CI tooling, and automation where you need Git data without shelling out manually. | 48 | 49 | 13 | 302K | 2 | 21.0 | 57.3 | MIT | 6 months ago | |
| anglemx/php-utilities | 0.84 | — | 0 | 0 | 0 | 204 | 0 | 1.2 | 31.9 | MIT | 3 years ago | |
| emtiazzahid/git-log-laravel | 0.84 | View your app’s Git commit history in a simple Laravel web page. Install via Composer, register the service provider, and add a route to GitLogLaravelController. No public assets or vendor routes; supports Laravel 5–9. Optional view publish for customization. | 5 | 5 | 1 | 0 | 0 | 1.0 | — | MIT | 3 years ago | |
| sebastian/git-state | 0.83 | sebastian/git-state is a small PHP library that inspects a Git checkout and reports its state: origin URL, current branch, commit hash, and whether the working directory is clean (or the current git status). Useful for build/test tooling. | 18 | 17 | 0 | 2M | 1 | 13.6 | 61.9 | BSD-3-Clause | 4 months ago | |
| sweetchuck/robo-git | 0.83 | — | 3 | 3 | 0 | 940 | 5 | 6.1 | 31.3 | — | 5 years ago | |
| cypresslab/gitelephant-bundle | 0.82 | — | 29 | 30 | 9 | 0 | 0 | 1.6 | — | GPL-3.0 | 6 years ago | |
| gentle/bitbucket-api | 0.81 | PHP Bitbucket API wrapper (PHP 5.4+) using cURL and Buzz. Provides a simple client for interacting with Bitbucket endpoints, with full documentation and optional PHPUnit test suite. MIT licensed. | 75 | 82 | 40 | 801 | 0 | 0.9 | 10.4 | MIT | — | |
| drupol/php-conventions | 0.71 | Opinionated PHP conventions toolkit with presets for code style, static analysis, and QA tooling. Helps standardize projects quickly by providing shared configuration and automation-friendly defaults for common PHP workflows. | 7 | 7 | 2 | 745 | 0 | 0.1 | 27.3 | MIT | — |
How can I help you explore Laravel packages today?