in Best Practices, Version Control

PECL Extension Review: SVN Is A Great Product

Even though the SVN extension for PHP is still in beta, the team has done a fantastic job with this PECL package. They’ve captured the most common SVN functions, put them into the package, and provided an easy way to view, manage, and control a Subversion repository right from PHP.

That’s not to say that the package is perfect: far from it, in fact. The documentation is the most disappointing facet, something I may help resolve through contributing to the manual. Also, most programs don’t yet recognize the SVN functions as part of PHP, so syntax highlighting is not available. This is a small inconvenience, however, and certainly no reason to NOT use it.

The package documentation can be found here and it’s worth a look for anyone thinking about doing anything SVN-related with PHP. This beats using exec() to execute SVN commands, as it ensures that the commands are executed properly.

I see the most immediate use of this tool in building a Trac-like PHP application. I’m sure someone has thought of it, but with Trac being popular, supported, and already finished, no one has yet dealt with this issue. Still, I’d like to see someone build that at some point.

Frustrated with your company’s development practices?

You don't have to be!

No matter what the issues are, they can be fixed. You can begin to shed light on these issues with my handy checklist.

Plus, I'll help you with strategies to approach the issues at the organization level and "punch above your weight."

Powered by ConvertKit