Given that SVN repos can be accessed over HTTP, would it be possible to code an SVN server in PHP?
Has anyone done this?
Given that SVN repos can be accessed over HTTP, would it be possible to code an SVN server in PHP?
Has anyone done this?
See the SVN Pecl extension:
This is not an SVN server written in PHP though, but a client API that interfaces with a server.
Like everyone else, I too find it rather ... odd to want to write a PHP SVN Server, which probably takes quite an effort and time, when all you have to do is just to switch hosts. As an alternative, use an open SVN hosting service and checkout from your hosting service with Phing or something when needed.
Found that: PHPVC on sourceforge, it's not SVN but it is a version control completely written in PHP and it don't use SQL, just plain file.
From the SF page:
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. It is very easy to view the file versions at a specific point in time.
It's not SVN, but it might be usefull.
Do you mean a PHP front-end to a repository? If so, look no further than Trac.