GeSHi is a project mainly written in PHP, it's free.
Fork of GeSHi
Fork of GeSHi:
http://qbnz.com/highlighter/