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

ActiveJuzaweb-plugin[DevOps &amp; Deployment](/categories/devops)

juzaweb/auto-deploy
===================

Automate deployment deployment using git and webhooks

1.1.2(2y ago)39MITPHP

Since Dec 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/juzaweb/auto-deploy)[ Packagist](https://packagist.org/packages/juzaweb/auto-deploy)[ Docs](https://juzaweb.com)[ RSS](/packages/juzaweb-auto-deploy/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

### Auto deployment using git and webhooks plugin

[](#auto-deployment-using-git-and-webhooks-plugin)

#### Set up Automated Deployments From GitHub With Webhook

[](#set-up-automated-deployments-from-github-with-webhook)

- Setup config in file `.env`

```
DEPLOY_ENABLE=true
DEPLOY_GITHUB_SECRET=
```

- Make drploy token, run command

```
php artisan deploy:make-token
```

- Set up command on build, make `.deploy.yml` in root your source folder.

Example:

```
github-deploy:
  commands:
    - git pull
    - composer install --no-dev
    - php artisan migrate --force
```

- Add a repository webhook on GitHub

To add a webhook to an existing repository, navigate to the GitHub repository page and go to "Settings" &gt; "Webhooks". Click on "Add webhook".

- Payload URL — A custom domain that points to your server or your server's public IP, followed by

```
https://yourdomain.com/webhook/deploy/github/{action}/{token}

```

**{action}**: Action define in your file `.deploy.yml`, example above, the action will be `github-deploy`

**{token}**: Your token created above

- Secret — A shared secret `DEPLOY_GITHUB_SECRET` in `.env`
- Which events would you like to trigger this webhook? (Default option: "Just the push event.")

##### IF YOU WANT TO ADD CUSTOM PARAM TO YOUR COMMANDS ADD QUERY STRING TO WEBHOOK URL

[](#if-you-want-to-add-custom-param-to-your-commands-add-query-string-to-webhook-url)

Example:

Webhook Url:

```
https://yourdomain.com/webhook/deploy/github/{action}/{token}?theme=default

```

In file `.deploy.yml`

```
github-deploy:
  commands:
    - cd themes/{theme}
    - git pull
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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 ~231 days

Total

3

Last Release

830d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3169e8a8781068840e9300a57785089da521287dbe0279fc9cc7e8de1c1d95a9?d=identicon)[juzaweb](/maintainers/juzaweb)

---

Top Contributors

[![juzaweb](https://avatars.githubusercontent.com/u/47020363?v=4)](https://github.com/juzaweb "juzaweb (20 commits)")

---

Tags

deploygithub-actionslaravellaravel-cmslaravel-frameworklaravel-packagewebhook

### Embed Badge

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

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

###  Alternatives

[in2code/in2publish_core

Content publishing extension to connect stage and production server

40143.4k](/packages/in2code-in2publish-core)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4778.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

106.6k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

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