Have a read of :-
https://github.com/shakurov/laravel-coinbase
https://github.com/maxteebabs/Laravel-blockchain-api
They may help you achieve what you want to do!
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I have a client requirements of something like that:
He wants a sample code for a PHP/Laravel store, The code should allow any user to deposit USD through debit/credit card which will be converted into Bitcoin and will be stored in his Bitcoin wallet, Upon successful deposit, Store owner will also award some additional Bitcoin to the User Bitcoin wallet.
User can then use these Bitcoins to purchase anything from store and also can withdraw/transfer that Bitcoins, How I can achieve this functionality using coinbase api or another third party provider API?
Please or to participate in this conversation.