PHPackages                             robloach/git-deploy - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. robloach/git-deploy

ActiveProject[DevOps &amp; Deployment](/categories/devops)

robloach/git-deploy
===================

Deploy and manage git deployments.

0.0.5(11y ago)015MITPHPPHP &gt;=5.3.0

Since Dec 14Pushed 11y ago1 watchersCompare

[ Source](https://github.com/RobLoach/git-deploy)[ Packagist](https://packagist.org/packages/robloach/git-deploy)[ Docs](https://github.com/RobLoach/git-deploy)[ RSS](/packages/robloach-git-deploy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Git Deploy
==========

[](#git-deploy)

Deploy and maintain a number of git repositories through PHP.

Requirements
------------

[](#requirements)

- PHP 5.4 or greater
- [Composer](http://getcomposer.org)

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

[](#installation)

1. Install Composer:

    ```
    $ php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
    ```
2. Use Composer to install Git Deploy:

    ```
    $ php composer.phar create-project robloach/git-deploy
    ```

Usage
-----

[](#usage)

1. Create a `git-deploy.json` file:

    ```
    {
        "mywebsite": "https://github.com/my/website.git",
        "myotherwebsite": {
          "repo": "https://github.com/my/otherwebsite.git"
        },
        "mythirdwebsite": {
          "repo": "https://github.com/my/otherwebsite.git",
          "branches": [
            "branch1",
            "branch2"
          ]
        },
        "myfourthwebsite": {
          "repo": "https://github.com/my/otherwebsite.git",
          "branches": {
            "branch1": "path/to/destination/branch1",
            "branch2": "path/to/destination/branch2",
            "branch3": "path/to/destination/branch3"
          }
        }
    }
    ```
2. Execute Git Deploy to deploy all sites:

    ```
    gh-pages-deploy/bin/gh-pages-deploy deploy
    ```
3. Set up a cron job to deploy every once in a while.

    ```
    gh-pages-deploy/bin/gh-pages-deploy deploy
    ```

License
-------

[](#license)

Licensed under the incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT license](http://creativecommons.org/licenses/MIT/)

Copyright © Rob Loach ()

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~105 days

Total

5

Last Release

4117d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25086?v=4)[Rob Loach](/maintainers/RobLoach)[@RobLoach](https://github.com/RobLoach)

---

Top Contributors

[![RobLoach](https://avatars.githubusercontent.com/u/25086?v=4)](https://github.com/RobLoach "RobLoach (12 commits)")

### Embed Badge

![Health badge](/badges/robloach-git-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/robloach-git-deploy/health.svg)](https://phpackages.com/packages/robloach-git-deploy)
```

###  Alternatives

[wsdltophp/packagegenerator

Generate hierarchical PHP classes based on a WSDL

4351.9M19](/packages/wsdltophp-packagegenerator)[shopware/deployment-helper

Shopware deployment tools

19305.3k5](/packages/shopware-deployment-helper)[drevops/git-artifact

Package artifact from your codebase in CI and push it to a separate git repo.

2133.2k](/packages/drevops-git-artifact)

PHPackages © 2026

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