Installing Composer on Mac OS X Mountain Lion

I recently read about a package management system for PHP on NetTuts called Composer. It looked interesting but I hadn’t had time to play around with it. At work, though, a new project came up that called for using a package from Composer so I needed to figure out how to get it installed and…