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().
directorytree/git is a lightweight PHP wrapper for executing Git commands from your application or web server. It provides a simple, fluent API for common repository operations, assuming Git is installed and available on your system PATH (and your PHP working directory is set to the repo via chdir()).
Ideal for deployment hooks, maintenance scripts, or admin tools, it focuses on a small set of dependable commands and clear return values.
origin)How can I help you explore Laravel packages today?