Hi,
Please email me directly to discuss. nicolas at house dot com dot ar. Not sure if I understand your exact needs. If you use PHP you must use some kind of asynchronous way of gather data, like AJAX. Depending on the kind of integration you want to make to your crm, perhaps fop or fop2 can be used as is, and just code a special clients using javascript. But it depends on the kind and depth of integration you are looking.