Idiorm is one of my favourite PHP libraries by far. Itself, plus Slim for routing on top of a bunch of classes is the nicest most maintainable way I've come across for building small web applications in PHP!
I also enjoy its companion library, Paris, an Active Record implementation on top of Idiorm.