# markomarkovic/simple-php-git-deploy

Automatically deploy the code using PHP and Git

Repository: https://github.com/markomarkovic/simple-php-git-deploy
Canonical: https://ross.abutalabs.com/products/simple-php-git-deploy
Language: PHP
License: MIT
License Family: permissive
Last push: 2021-04-11T15:54:34+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4980, "days_push": 1970, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1040, forks 265 (observed 2026-08-28T04:03:20.726798+00:00)

## What it is
A single PHP script that automatically deploys code from a Git repository to a server when triggered by a webhook or post-receive hook. It pulls changes, optionally runs Composer and backups, and syncs files to the target directory using rsync.

## Use cases
- deploy code to my server automatically on git push
- set up a github webhook to trigger deployment
- simple php deployment script without ci/cd
- deploy from bitbucket to shared hosting
- rsync deploy from git repository
- auto pull latest code on server when repo updates

## When to choose
- you want a lightweight, no-dependency deploy script on shared or simple PHP hosting
- you deploy a single site from GitHub/Bitbucket via webhooks
- you don't want to run a full CI/CD pipeline

## When to avoid
- you need rollback, build pipelines, or multi-environment deployments
- your infrastructure already uses CI/CD tools like GitHub Actions or Ansible
- the project needs active development or modern security hardening

## Facets
- artifact type: application
- maturity: maintenance
- function: deployment, webhook, workflow-automation, developer-tools
- domain: web-development, self-hosted
- platform: php, self-hosted
- tags: git-deploy, continuous-deployment, rsync, webhook-triggered, single-script, devops, automation, web-server, linux

## Member repositories
- markomarkovic/simple-php-git-deploy (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:20.726798+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:03:30.636538+00:00, confidence not recorded.
  - readme: https://github.com/markomarkovic/simple-php-git-deploy (fetched 2026-08-28T04:03:20.726798+00:00, sha 3379238084c4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
