Published 2005-04-19 19:12:46

*UPDATE* the source is now in cvs.php.net/pecl/svn

That itch just got to much today, and I started on libsvn bindings for PHP. With a few hints from the subversion mailing list, I now have 3 commands working

<?php
dl('svn.so');
svn_checkout("http://www.akbkhome.com/svn/ext_svn","/tmp/ext_svn");
print_r(svn_cat("http://www.akbkhome.com/svn/ext_svn/svn.c"));
print_r(svn_ls("http://www.akbkhome.com/svn/ext_svn/"));
?>

It's a long way from being completed, but, it's quite nice to see how easy it was to get this far..
This one's php4 friendly, so you can try it out by downloading from the subversion server @ http://www.akbkhome.com/svn/ext_svn/


Follow us on