Since PHP is a web programming language, you can use it to output any HTML you want, including any image tags etc.
You would have to use these scripts in a web browser and print from that.
If you want to really get as close to Filemaker as you can, but want to use MySQL for the database, it might be better to make a Cocoa application that connects to the database instead.