phpEasyVCS is a simple version control system (VCS) with minimal hosting requirements, namely PHP 5.2+. No database is needed.
Files can be viewed and uploaded with a browser or by WebDAV, which allows you to access the files like a local drive in all operating systems. For integration with other software a REST service is provided.
It is very easy to view the file versions at a specific point in time. The web interface allows you to easily compare file versions and synchronize and merge local files with the files in phpEasyVCS.
...
A powerful class which allows to create and merge unified diff patches into any file. Fully written in PHP, uses the GNU standard unified diff format and allows any operation (creation/update/deletion).