Are you planning to make a website that can generate wallet and priv keys in php?
I think you can't get any free script here mostly they are selling it look at this thread as sample
https://bitcointalk.org/index.php?topic=2276372.0But if you wanted to make your own you should install your own bitcoin core you make wallet in php via JSON-RPC
You can check the JSON-RPC in php here
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
But if you wanted an easy step without running bitcoind daemon you should buy the script from trusted sellers.. i don't know if the above link is trusted or not since its neutral i think its still safe..