PHPackages                             scriptburn/git-auto-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. scriptburn/git-auto-deploy

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

scriptburn/git-auto-deploy
==========================

Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks Edit

1.0.10(8y ago)31159071[5 issues](https://github.com/scriptburn/git-auto-deploy/issues)MITPHPPHP ^7.0

Since Jun 30Pushed 2y ago17 watchersCompare

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

READMEChangelogDependencies (14)Versions (12)Used By (0)

git-auto-deploy
===============

[](#git-auto-deploy)

Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks
----------------------------------------------------------------------------------------------

[](#deploy-your-github-gitlab-or-bitbucket-projects-automatically-on-git-push-events-or-web-hooks)

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

[](#installation)

- With Composer `composer create-project --no-interaction scriptburn/git-auto-deploy my-app`
- Or simply download and unzip from github
- Suggest you to create a subdomain like **deploy.example.com**
- open app\\settings.php and update **db, git\_path, composer\_path** according to your server [![Settings](https://github.com/scriptburn/git-auto-deploy/raw/master/img/settings.png "Settings")](https://github.com/scriptburn/git-auto-deploy/raw/master/img/settings.png)
- Make sure to add webserver user's public ssh keys in **GitHub, BitBucket, GitLab**
- Login to your ssh as the same user as your webserver process is running and issue these commands And accept 'Yes' after you have added your public ssh keys to **GitHub, BitBucket, GitLab**`$ ssh git@github.com``$ ssh git@bitbucket.com``$ ssh git@gitlab.com`
- $ pbcopy &lt; ~/.ssh/id\_rsa.pub
- Put **http://&lt; your-domain &gt;/webhook** as WebHook url in appropriate repository
- Default login and password is **admin** and **admin**
- Now Create a new project and appropriate details and you are ready to go
- After you push the changes to your remote repo deployment process in your server will start and if you entered your email in project form you will get detailed deployment log or you can check last deployment log any time by visting project list page

Pre/Post Hook script
--------------------

[](#prepost-hook-script)

You can check `sample-post-hook.php` for sample code used in a post hook script

### Login Page

[](#login-page)

[![Login page](https://github.com/scriptburn/git-auto-deploy/raw/master/img/login-form.png "Login page")](https://github.com/scriptburn/git-auto-deploy/raw/master/img/login-form.png)

### Projects list page:

[](#projects-list-page)

- Search By project name,status and repository type (GitHub ,BitBucket, GitLab) [![Projects list page](https://github.com/scriptburn/git-auto-deploy/raw/master/img/project-list.png "Projects list page")](https://github.com/scriptburn/git-auto-deploy/raw/master/img/project-list.png)

### Projects Form:

[](#projects-form)

- Options to add custom pre and post deployment script.
- Option to send detailed Deployment status report to provided email
- Mark a project active or inactive
- Run composer update after successfull deployment [![Projects Form](https://github.com/scriptburn/git-auto-deploy/raw/master/img/project-form.png "Projects Form")](https://github.com/scriptburn/git-auto-deploy/raw/master/img/project-form.png)

### Deployment log

[](#deployment-log)

- View Detailed log of last failed or sucessfull deployment [![Deployment log](https://github.com/scriptburn/git-auto-deploy/raw/master/img/deployment-log.png "Deployment log")](https://github.com/scriptburn/git-auto-deploy/raw/master/img/deployment-log.png)

### Update Profile

[](#update-profile)

- Change your email and password [![Update Profile](https://github.com/scriptburn/git-auto-deploy/raw/master/img/edit-profile.png "Update Profile")](https://github.com/scriptburn/git-auto-deploy/raw/master/img/edit-profile.png)

### Email setting form

[](#email-setting-form)

- You can choose how deployment email will be sent , either by native php command or by any external smtp server [![Email setting form](https://github.com/scriptburn/git-auto-deploy/raw/master/img/setting-form.png "Email setting form")](https://github.com/scriptburn/git-auto-deploy/raw/master/img/setting-form.png)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% 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 ~17 days

Recently: every ~35 days

Total

11

Last Release

3068d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fea3da4ebf147031886ce207914b6a15bd52d428c36de4d5e841a26deb0d9bf?d=identicon)[codexian](/maintainers/codexian)

---

Top Contributors

[![scriptburn](https://avatars.githubusercontent.com/u/20643070?v=4)](https://github.com/scriptburn "scriptburn (10 commits)")[![xpablos](https://avatars.githubusercontent.com/u/21990622?v=4)](https://github.com/xpablos "xpablos (1 commits)")

---

Tags

auto-deploymentbitbucketdeploydeploy-tooldeploymentdeployment-managergitlabphp-deployment-scriptwebhookbitbucketgithubgitlabauto-deploy

### Embed Badge

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

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

###  Alternatives

[ondram/ci-detector

Detect continuous integration environment and provide unified access to properties of current build

22249.4M33](/packages/ondram-ci-detector)[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[socialconnect/auth

Social Connect Auth Component

568845.4k5](/packages/socialconnect-auth)[producer/producer

Tools for releasing library packages; supports Git, Mercurial, Github, Gitlab, and Bitbucket.

10418.7k2](/packages/producer-producer)[drevops/git-artifact

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

2133.2k](/packages/drevops-git-artifact)[laravelplus/laravel-updater

A Laravel package for syncing with upstream repositories (GitHub, GitLab, Bitbucket, etc.)

201.7k](/packages/laravelplus-laravel-updater)

PHPackages © 2026

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