Description
PHPloy is a PHP script for deploying a Git repository to a server over FTP or SFTP, uploading only the files that changed. The author describes the problem it solves as remembering which files you edited and uploading them by hand. PHPloy uses Git to find the changed files and the deleted ones, and it uploads and removes them on the server. You configure your servers in a deploy.ini file, commit your changes, and run phploy, or phploy with a server name to choose a target such as staging. It records the commit it last deployed in a .revision file on the server, and on the next run it compares that hash with the commit you are deploying to find what to upload. The author added support for Git submodules and then for nested submodules, submodules inside submodules. The page describes the script as a real time-saver. The project is hosted on GitHub, where the full setup and options are documented. The page is an article from 2014 about the tool, so check the GitHub project for current requirements.…
Highlights
- Uploads only the files changed since the last deploy
- Deletes removed files on the server
- FTP and SFTP deployment
- Submodule and nested submodule support
- Named servers configured in deploy.ini
Ratings & Reviews
No ratings yet
Be the first to rate PHPloy.
People also visit
PHP Conventional Changelog
A PHP tool built to generate a changelog from a project's commit messages
PHPloy FAQ
What does PHPloy do?
It deploys a Git repository to a server over FTP or SFTP, sending only the files that changed.
How does it know what changed?
It stores the last deployed commit in a .revision file on the server and compares it with the commit you deploy.
How do I choose a server?
Run phploy with -s and a server name, as set up in deploy.ini.
Does it handle submodules?
Yes. The article says it supports Git submodules and nested submodules.
What are the best PHPloy alternatives?
Popular alternatives to PHPloy include FTP Deployment, FTP Synchronizer and Soft Serve. See all PHPloy alternatives





