directorytree/git
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().
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| symplify/git-wrapper | 0.88 | — | 38 | 36 | 3 | 2K | 0 | 0.1 | 17.2 | MIT | — | |
| darkikim/git-helper | 0.88 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| bit3/git-php | 0.87 | 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. | 47 | 47 | 24 | 666 | 2 | 1.5 | 16.5 | MIT | — | |
| emtiazzahid/git-log-laravel | 0.86 | 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 | |
| cypresslab/gitelephant | 0.86 | 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 | |
| sebastian/git-state | 0.85 | PHP library to describe the state of a Git checkout. Retrieve origin URL, current branch and commit hash, and determine whether the working directory is clean or get a git-style status output. Useful for build/test tooling and CI metadata. | 12 | 11 | 0 | 1M | 1 | 16.8 | 63.1 | BSD-3-Clause | 2 months ago | |
| anglemx/php-utilities | 0.85 | — | 0 | 0 | 0 | 326 | 0 | 1.2 | 34.7 | MIT | 3 years ago | |
| cypresslab/gitelephant-bundle | 0.83 | — | 0 | 30 | — | 0 | — | 1.6 | — | — | — | |
| pear/versioncontrol_git | 0.81 | PEAR’s VersionControl_Git is a PHP library for interacting with Git repositories from your code. It wraps common git commands (status, log, diff, commit, branch, tag, etc.), supports executing via the Git CLI, and helps automate repository workflows in PHP apps. | 37 | 37 | 13 | 8K | 0 | 0.3 | 22.4 | — | — | |
| gitonomy/gitlib | 0.80 | 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 | 469 | 74 | 393K | 13 | 16.9 | 44.7 | MIT | 1 year ago | |
| sebastianfeldmann/git | 0.78 | 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 | 48 | 13 | 306K | 2 | 22.9 | 58.3 | MIT | 4 months ago | |
| czproject/git-php | 0.66 | — | 555 | 564 | 108 | 113K | 6 | 17.9 | 38.2 | NOASSERTION | 1 year ago | |
| m4tthumphrey/php-gitlab-api | 0.60 | Modern GitLab API v4 client for PHP 8.1–8.4. Provides a clean, php-github-api-inspired interface to GitLab endpoints, with PSR-18 HTTP client and PSR-17 factory support for flexible integration and authentication. | 952 | 956 | 457 | 98K | 1 | 46.8 | 32.4 | MIT | 1 month ago | |
| jfcherng/php-diff | 0.54 | PHP library to generate diffs between two strings with multiple renderers: unified/context/text, JSON, and rich HTML (inline, side-by-side, combined). Includes helper CSS (or your own) and customizable differ/renderer options. Requires PHP 8.3+ and ext-iconv. | 474 | 475 | 51 | 208K | 5 | 31.9 | 43.5 | BSD-3-Clause | 2 months ago | |
| internal/dload | 0.54 | DLoad simplifies downloading and managing binary artifacts in PHP projects. Auto-install tools like RoadRunner or Temporal with version constraints, cross-platform support, and optional custom builds—keeping binaries out of VCS and onboarding fast. | 102 | 101 | 3 | 29K | 17 | 35.3 | 45.5 | BSD-3-Clause | 3 weeks ago |
How can I help you explore Laravel packages today?