Skip to content
PHP web handler / middleware for processing GitHub Webhooks
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


  • Add a weebhook in the Settings/Webhooks page of your respostory.

  • Update the $secret and $path in the github-webhook-handler.php.

  • Upload github-webhook-handler.php to your server and copy the URL to it.

  • Fill in the webhooks page.

  • ssh to your server.

#if you are using Apache as web server, change `www-data` to `www`
chown -R www-data /path/to/the/repository/
chmod -R g+s /path/to/the/repository/
cd /path/to/the/repository/
sudo -u www-data git pull
  • Save your webhook.

  • Reference:

You can’t perform that action at this time.