PHP Classes

PHP SVN Client: Retrieve files from an SVN repository in pure PHP

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (14)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 5,079 All time: 525 This week: 488Up
Version License PHP version Categories
svnclient 1.0BSD License3.0Files and Folders, Project Management


This class can be used to retrieve files from an SVN (SubVersion) repository in pure PHP, thus without using separate programs.

It accesses a given remove SVN repository using the WebDAV protocol and perform several types of operations:

- List all files in a given SVN repository directory
- Retrieve a given revision of a file
- Retrieve the log of changes made in a repository or in a given file between two revisions
- Get the repository latest revision

Innovation Award
PHP Programming Innovation award winner
December 2007

Prize: One book of choice by O'Reilly
SVN is one of the most popular version control tools used by software project teams.

Retrieving the projects of a file hosted in a SVN repository usually requires the use of a separate SVN client program.

This class provides a solution to retrieve files from a remote SVN repository using only pure PHP code, i.e. without relying on a separate SVN client program.

Manuel Lemos
Picture of Cesar D. Rodas
  Performance   Level  
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Classes: 38 packages by
Country: Paraguay Paraguay
Age: 36
All time rank: 71 in Paraguay Paraguay
Week rank: 286 Down1 in Paraguay Paraguay Equal
Innovation award
Innovation award
Nominee: 25x

Winner: 5x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file definitions.php Conf. Definitions used for the svnclient
Plain text file phpsvnclient.php Class Main class 6KB
Downloadsvnclient-2008-06-30.tar.gz 4KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP HTTP protocol client Download .zip .tar.gz for http(s) protocol Required
Generic XML parser class Download .zip .tar.gz XML parsing Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:525
This week:488Up
User Ratings User Comments (1)
 All time
Works nice in the demo.
15 years ago (Martin Guppy)