Php transactions history

Hi,

is there a way to get a list of transactions of a smart contract using php (something like eth.subscribe that I can use in a php cronjob)?

Thanks

I’m currently using this https://etherscan.io/apis#logs but I would like to use infura instead

I’m not a PHP programmer, but here is an example of getting transaction logs using PHP and eth_getlogs; the answer at the bottom of the page shows a successful transaction log:

Let us know if this works for you!