There was a sample somewhere (can't find it at the moment) with an example on how to create a pdf with fop in java.
Using the bridge you will be able to "transpose" the sample to php and retain the ability to debug everything in php. That was what i did. Doing a line by line transposing you will start to get some "factory" creation errors, but you will get over it with the correct object creation and initialization. Also, remember to create ALL the objects, don't do any "instant" creation line: $xpto = $java->factory_bla( $java->newObject() ); Because the reference to the $java->newObject() will stay to nail you down... Do: $new = $java->newObject(); $xpto = $java->factory_bla( $new ); Not sure if this is of help... but alas... ;)
