Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Git Laravel Package

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().

View on GitHub
Deep Wiki
Context7

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.

  • Run core commands like pull, fetch, and reset (default hard, optional soft)
  • Manage remotes: get one/all, add, and update remote URLs
  • Simple constructor with configurable default remote (e.g., origin)
  • Boolean success/failure (or arrays for remote listings) for easy control flow
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport