I am trying to create a web wallet application using "@solana/web3.js" for study purposes. The backend side is using PHP (Laravel).
Which of the following is the best option on how to call web3.js on the backend side?
Call it from PHP using the exec function like "node xxxxx.js
Call node.js from PHP via curl, etc.
Using web3.js from PHP is not a good idea (backend should be implemented in node.js)
None of the above (Please tell me how to do that.)