Bitmapper is a project mainly written in PHP, it's free.
The Industry's #1 PHP ORM for Bitfields
An ORM for bitfields. See examples/example.php for actual usage.