{"repo":"lemmon/php-git-deploy","free":true,"listed":false,"github":"https://github.com/lemmon/php-git-deploy","clone":"git clone https://github.com/lemmon/php-git-deploy.git","description":"Deploy any project via GitHub push or manual trigger. Lightweight PHP, SSH-based, with flexible post-deploy hooks.","language":"PHP","stars":16,"topics":["automation","composer","deploy","php","git","github","ssh"],"license":"MIT","category":"workflow-automation","readme_excerpt":"PHP Git Deploy A lightweight, self-hosted Git deployment system written in PHP. Deploy your code via webhooks or manual triggers and keep any web project in sync. Features - GitHub webhook support - Automatic deployments on push - Manual deployment triggers - Deploy via URL with token - SSH key authentication - Secure private repository access - Incremental updates - Smart git pull for existing repositories - Submodule aware - Recursively clones and updates git submodules - Configurable commands - Run composer, artisan, or any post-deploy scripts - Plain text logging - Perfect for webhook logs and debugging - No dependencies - Pure PHP, works on shared hosting Directory Structure Quick Start 1. Download the latest release or clone this repository 2. Upload the deploy/ folder to your web root 3. Configure your repository in deploy/config.php 4. Generate SSH keys using deploy/tools/ssh-keygen.php 5. Add public key to your GitHub repository 6. Test deployment by visiting the webhook URL Configuration Edit deploy/config.php : Usage GitHub Webhook Setup 1. Go to your repository Settings → Webhooks → Add webhook 2. Set Payload URL : https://yoursite.com/ deploy/webhook.php 3. Set Content type : application/x-www-form-urlencoded (tested) or application/json 4. Set Secret : Use the same value as deploy token in your config 5. Select Just the push event 6. Click Add webhook Manual Deployment (via URL) For manual deployments or integration with systems that don't support GitHub's webho","default_branch":null,"files":null,"tree":[],"storefront":"/r/lemmon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lemmon/php-git-deploy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}