PHPUnit for XAMPP on Windows with Cygwin
Steps to get PHPUnit to run on my XAMPP setup with Cygwin, so I can write and run Symfony2 unit tests. 1. Upgrade PEAR Download http://pear.php.net/go-pear.phar to C:\xampp\php\go-pear.phar Run this in cmd.exe (cygwin prompts hosed somehow), taking all defaults c:\xampp\php>go-pear.batc:\xampp\php>go-pear.bat…
Sorting, deleting from a PropelObjectCollection
Propel 1.6 (and Propel 1.5 before it) is pretty sweet (thank you François!). I had some confusion with my model’s array of related objects though, thinking it was a regular PHP array. Actually it’s a Collection, specifically a PropelObjectCollection, which…

Adding WordPress-like tags to a Symfony 1.4 admin generator form
Update 2010-08-06: It looks like the sfDoctrineActAsTaggablePlugin team has incorporated much of this into the version they released today. I’ll post more when I get a chance to try it out. This week I used the sfDoctrineActAsTaggablePlugin to add tag…
Getting PHP’s GD module to work with IIS
Grrr, this cost me about 10 hours, and was hard to research, so I’m documenting it here for The Good Of Everyone: Problem I work with PHP on a bunch of different web servers. In this case I needed to…
Upgrading sfGuardPlugin for symfony 1.1
Last week I upgraded my first symfony 1.0 project to symfony 1.1 following the UPGRADE file that comes with symfony 1.1 The first part of the upgrade went pretty smoothly, but my project broke due to the sfGuardPlugin. There weren’t…
The intranets! Let them in! Let them play!
I just released bhLDAPAuthPlugin to the world with permission from my employer. I’ve been using symfony (“PHP on Rails”) for about a year at work for a few intranet projects, and over and over I have needed to use our…