PHPackages                             dalyio/laravel-gitpack - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dalyio/laravel-gitpack

ActiveLibrary

dalyio/laravel-gitpack
======================

A package for Laravel to perform basic git commands on locally integrated development packages

312PHP

Since Sep 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/dalyio/laravel-gitpack)[ Packagist](https://packagist.org/packages/dalyio/laravel-gitpack)[ RSS](/packages/dalyio-laravel-gitpack/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (1)Used By (0)

Laravel Git Helper for Packages Development
===========================================

[](#laravel-git-helper-for-packages-development)

A package for Laravel to perform basic git commands on locally integrated development packages. If working within multiple local development packages or repositories at once this package is meant to ease the burden of navigating to each individual repository to perform basic git commands.

[![Latest Unstable Version](https://camo.githubusercontent.com/de69f369b7dd5384c5248d344fce7380d7e102a04149a7fd18610bbd3dc0e140/687474703a2f2f706f7365722e707567782e6f72672f64616c79696f2f6c61726176656c2d6769747061636b2f762f756e737461626c65)](https://packagist.org/packages/dalyio/laravel-gitpack)[![PHP Version Require](https://camo.githubusercontent.com/847590ba3bf5669d37568245946209251ad6eaaa1baf88637b5eb7d5dae04e2e/687474703a2f2f706f7365722e707567782e6f72672f64616c79696f2f6c61726176656c2d6769747061636b2f726571756972652f706870)](https://packagist.org/packages/dalyio/laravel-gitpack)[![License](https://camo.githubusercontent.com/879b205d5cb5bdbbfa289ad0f10650e5de9ca8731db6f34c79ac6c43b84fb6cf/68747470733a2f2f706f7365722e707567782e6f72672f64616c79696f2f6c61726176656c2d6769747061636b2f6c6963656e7365)](https://packagist.org/packages/dalyio/laravel-gitpack)

Installation
------------

[](#installation)

```
composer require dalyio/laravel-gitpack
```

```
php artisan vendor:publish --provider="Dalyio\Gitpack\Providers\GitpackServiceProvider"
```

Configuration
-------------

[](#configuration)

Edit the new `git.php` configuration file in the config directory to match your git credentials and repositories.

```
return [
    'username' => '{DEFAULT GIT USERNAME}',
    'email' => '{DEFAULT GIT EMAIL}',
    'message' => '{DEFAULT COMMIT MESSAGE}',

    'packages' => [
        '{VENDOR/REPOSITORY}' => '{PATH TO LOCAL DEVELOPMENT PACKAGE}',
        'dalyio/laravel-gitpack' => 'packages/dalyio/gitpack/',
    ],
]
```

Usage
-----

[](#usage)

### Initialize

[](#initialize)

Initialize the git repository using the default information provided in the `git.php` configuration file.

```
php artisan git:init -p {VENDOR/REPOSITORY}
```

Or provide new credentials.

```
php artisan git:init -p {VENDOR/REPOSITORY} -u {GIT USERNAME} -e {GIT EMAIL}
```

### Status

[](#status)

Check the status of all your configured local development packages.

```
php artisan git:status
```

And the output will display for each package.

```
packages/dalyio/gitpack/
On branch master
Changes not staged for commit:
  (use "git add ..." to update what will be committed)
  (use "git restore ..." to discard changes in working directory)
        modified:   README.md

no changes added to commit (use "git add" and/or "git commit -a")
```

### Pull

[](#pull)

Pull all your configured local development packages.

```
php artisan git:pull
```

Or specify a single package to pull from.

```
php artisan git:pull -p {VENDOR/REPOSITORY}
```

### Push

[](#push)

Commit and push changes to all your configured local development packages.

```
php artisan git:push -m "{COMMIT MESSAGE}"
```

Or specify a single package to commit and push to.

```
php artisan git:push -p {VENDOR/REPOSITORY} -m "{COMMIT MESSAGE}"
```

Branches
--------

[](#branches)

When performing any of the above commands, Laravel Gitpack will detect the local development package's current branch and perform the operation using that current branch. To change branches or to perform more complex git branch operations, it is recommended that you navigate to the source of your local development package and use native git commands to resolve any issues.

Errors
------

[](#errors)

If a git error occurs during any of the above processes it is recommended that you navigate to the source of your local development package and use native git commands to resolve any issues.

License
-------

[](#license)

Laravel Gitpack is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b8ca2eef70c13f1da167ef8169d86c45ad57bde60719f84e0da464ff989b6099?d=identicon)[dalyio](/maintainers/dalyio)

---

Top Contributors

[![dalyio](https://avatars.githubusercontent.com/u/64324039?v=4)](https://github.com/dalyio "dalyio (25 commits)")

---

Tags

gitlaravelphp

### Embed Badge

![Health badge](/badges/dalyio-laravel-gitpack/health.svg)

```
[![Health](https://phpackages.com/badges/dalyio-laravel-gitpack/health.svg)](https://phpackages.com/packages/dalyio-laravel-gitpack)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
