Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: frodoe7 on June 07, 2015, 09:13:30 PM



Title: bitcoin PHP classes
Post by: frodoe7 on June 07, 2015, 09:13:30 PM
Hello guys
how to get the .PHP files to can handle bitcoins via my website ?
I downloaded this https://github.com/bitcoin/bitcoin.org but all files .MD
and I can`t include this in my website :)


Title: Re: bitcoin PHP classes
Post by: newIndia on June 07, 2015, 09:28:17 PM
Hello guys
how to get the .PHP files to can handle bitcoins via my website ?
I downloaded this https://github.com/bitcoin/bitcoin.org but all files .MD
and I can`t include this in my website :)

Oops... you just downloaded the website https://bitcoin.org

First we need to know what you want to mean by I want to handle bitcoins via my website ? You want to receive bitcoin as it is or you want your customers to pay in bitcoin, but you want your local currency ?

If you want to receive bitcoin as it is, you may check this - https://www.blocktrail.com/api/docs/lang/php

If you want your customers to pay in bitcoin, but you want your local currency, you may check this - https://bitpay.com/api


Title: Re: bitcoin PHP classes
Post by: frodoe7 on June 07, 2015, 09:40:17 PM

Oops... you just downloaded the website https://bitcoin.org

First we need to know what you want to mean by I want to handle bitcoins via my website ? You want to receive bitcoin as it is or you want your customers to pay in bitcoin, but you want your local currency ?

If you want to receive bitcoin as it is, you may check this - https://www.blocktrail.com/api/docs/lang/php

If you want your customers to pay in bitcoin, but you want your local currency, you may check this - https://bitpay.com/api
I want to receive bitcoin and check the bitcoin address validation only


Title: Re: bitcoin PHP classes
Post by: newIndia on June 07, 2015, 09:46:11 PM

Oops... you just downloaded the website https://bitcoin.org

First we need to know what you want to mean by I want to handle bitcoins via my website ? You want to receive bitcoin as it is or you want your customers to pay in bitcoin, but you want your local currency ?

If you want to receive bitcoin as it is, you may check this - https://www.blocktrail.com/api/docs/lang/php

If you want your customers to pay in bitcoin, but you want your local currency, you may check this - https://bitpay.com/api
I want to receive bitcoin and check the bitcoin address validation only

Well, then try the blocktrail one. For any problem in integration, ask for support on their site. Those guys appeared helpful to me.

But, once you become a pro, run a Bitcoin daemon and query through JSON RPC.


Title: Re: bitcoin PHP classes
Post by: frodoe7 on June 07, 2015, 10:01:51 PM

Oops... you just downloaded the website https://bitcoin.org

First we need to know what you want to mean by I want to handle bitcoins via my website ? You want to receive bitcoin as it is or you want your customers to pay in bitcoin, but you want your local currency ?

If you want to receive bitcoin as it is, you may check this - https://www.blocktrail.com/api/docs/lang/php

If you want your customers to pay in bitcoin, but you want your local currency, you may check this - https://bitpay.com/api
I want to receive bitcoin and check the bitcoin address validation only

Well, then try the blocktrail one. For any problem in integration, ask for support on their site. Those guys appeared helpful to me.

But, once you become a pro, run a Bitcoin daemon and query through JSON RPC.
now , how to validate the bitcoin address to stop overloading on the database with wrong bitcoin addresses


Title: Re: bitcoin PHP classes
Post by: myfirst on June 07, 2015, 10:18:48 PM
now , how to validate the bitcoin address to stop overloading on the database with wrong bitcoin addresses

Have a look at this:
https://github.com/tuaris/CryptoCurrencyPHP


Title: Re: bitcoin PHP classes
Post by: coinableS on June 08, 2015, 12:56:02 PM
I created this for just this reason. It's ok not everyone knows how to code.

https://bitcointalk.org/index.php?topic=990348.0

I created many lessons (videos and written) with bitcoin and PHP, from simple getting the current price, to building a faucet or a web store.
Hope this helps. I know I'm not the best coder out there, but it's a start.





Title: Re: bitcoin PHP classes
Post by: Envrin on June 18, 2015, 03:53:44 PM
Another option for you is Synala, which is available free of charge from http://envrin.com/synala

Simply upload the contents of the .zip file to your server, open in your browser, follow the easy setup process and you'll be up and running accepting Bitcoin is no time.  If you have any questions regarding it, please don't hesitate to ask.


Title: Re: bitcoin PHP classes
Post by: bitnanigans on June 20, 2015, 03:45:07 PM
You can make use of the chain.com API which provides a library that you can integrate with PHP.