Bitcoin block explorer php file


You can use it to get started on integrating Bitcoin data in your own php applications. On Windows you need to enable the following extensions in your php.

You will also need composer for package management in the backend. Copy the code First clone this repository and copy the env. This contains certain environment specific variables used in the app, including datbase connection settings and API keys.

Now run composer update to download all the required packages. Get your API keys Go to www. Create an API key, and then add this with the corresponding secret to the env.

For email functionality we use Bitcoin block explorer php file. Sign up for an api key and then also add these to the env. You can skip this step if you don't bitcoin block explorer php file to use the email feature. You should always keep your API details secret. Set up the server run php artisan serve to quickly setup a nice little local server serve the app. Alternatively you can set up Bitcoin block explorer php file Homesteadthe pre-packaged Vagrant virtual machine that provides you with a quick and easy local web server environment.

Run the migrations and seed the database If you've set up homestead then all the database config is ready for you to run migrations and database seeding. If not, then you need to set up your database and add the details to the env. Bitcoin block explorer php file good to go With the server up and running now, simply navigate to http: A user and initial wallet has been created through the table seeders. You can log in with email: Things to know For webhooks to be created and used your server needs to be accessible via a public domain.

When developing you can achieve this easily through the use of a tunnel. If you set up a tunnel to your local server, go into bitcoin block explorer php file env. You'll need to do this before you run the database seeder, so that the initial wallet and webhook is created with the correct url.

Windows Developers A note for windows developers: Too often the suggested solution is to disable ssl cert verification in cURL, but this completely defeats the point of using SSL. Instead you should take two very simple steps to solve the issue permanently:. Get in contact with us at devs blocktrail.

A tutorial will be coming soon describing the steps to creating this personal Bitcoin wallet with Laravel. Requirements On Linux you need to install the following packages: You should always keep your API details secret 3. Instead you should bitcoin block explorer php file two very simple steps to solve the issue permanently: This is a bundle of trusted CA root certs extracted from mozilla.

Save it in a folder within your php installation.