PHPackages                             blocktrail/simple-block-explorer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. blocktrail/simple-block-explorer

ActiveProject[API Development](/categories/api)

blocktrail/simple-block-explorer
================================

A simple Bitcoin block explorer built on Laravel with Blocktrail API

1.0.0(11y ago)21716[1 PRs](https://github.com/blocktrail/simple-bitcoin-wallet-app/pulls)MITPHPPHP ~5.5.0

Since Jan 16Pushed 8y ago7 watchersCompare

[ Source](https://github.com/blocktrail/simple-bitcoin-wallet-app)[ Packagist](https://packagist.org/packages/blocktrail/simple-block-explorer)[ RSS](/packages/blocktrail-simple-block-explorer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Simple Bitcoin Wallet
=====================

[](#simple-bitcoin-wallet)

This a simple example of a personal Bitcoin wallet, built using the [Blocktrail Bitcoin API](https://www.blocktrail.com/) and [Laravel framework.](http://laravel.com/). You can use it to get started on integrating Bitcoin data in your own php applications.

\###Requirements ***On Linux*** you need to install the following packages:

```
sudo apt-get install php5-bcmath php5-intl php5-gmp php5-mcrypt
sudo php5enmod mcrypt

```

***On Windows*** you need to enable the following extensions in your `php.ini` if not already done:

```
extension=php_intl.dll
extension=php_gmp.dll

```

You will also need [composer](https://getcomposer.org/) for package management in the backend.

\###Getting Started #####1. Copy the code First clone this repository and copy the `env.example.php` to a file called `env.php` . 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.

\#####2. Get your API keys Go to [www.blocktrail.com](https://www.blocktrail.com/) and sign up for a free API account. Create an API key, and then add this with the corresponding secret to the `env.php` file.

For email functionality we use [Mailgun](https://mailgun.com). Sign up for an api key and then also add these to the `env.php` file. You can skip this step if you don't want to use the email feature.
*(note that the .env.php file has been added to the .gitignore. You should always keep your API details secret)*

\#####3. Set up the server run `php artisan serve` to quickly setup a nice little local server serve the app. Alternatively you can set up [Laravel Homestead](http://laravel.com/docs/4.2/homestead), the pre-packaged Vagrant virtual machine that provides you with a quick and easy local web server environment.

\#####4. 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.php`. When done you can run `php artisan migrate --seed` on homestead/locally to create the database tables and run the table seeders.

\#####5. You're good to go With the server up and running now, simply navigate to  (or your homestead server) to see the simple wallet and block explorer at work. A user and initial wallet has been created through the table seeders. You can log in with `email: test@test.com` `password: test`.

\#####6. 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. [ngrok](https://ngrok.com/) allows you to easily set up a tunnel between your local environment and an external domain (either controlled by you, or a free subdomain on their domain).
If you set up a tunnel to your local server, go into the `env.php` file and set the `'APP_URL'` setting to be the public URL. 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: you may encounter an issue in php with cURL and SSL certificates, where cURL is unable to verify a server's cert with a CA ((error 60)\[\]).
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:

1. download `cacert.pem` from the [curl website](http://curl.haxx.se/docs/caextract.html). This is a bundle of trusted CA root certs extracted from mozilla.org. Save it in a folder within your php installation.
2. open your `php.ini` and add/edit the following line (use an absolute path to where you placed the cert bundle):

```
curl.cainfo = C:\php\certs\cacert.pem

```

\###Need Help? Get in contact with us at [devs@blocktrail.com](mailto://devs@blocktrail.com) and we'll be happy to help you in any way we can.

A tutorial will be coming soon describing the steps to creating this personal Bitcoin wallet with Laravel.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/877652fd3159df1931e8fbd5a14292095458e73725200a23cef0e79c23a10c84?d=identicon)[oisin](/maintainers/oisin)

---

Top Contributors

[![OACDesigns](https://avatars.githubusercontent.com/u/2932334?v=4)](https://github.com/OACDesigns "OACDesigns (113 commits)")[![rubensayshi](https://avatars.githubusercontent.com/u/649160?v=4)](https://github.com/rubensayshi "rubensayshi (1 commits)")

---

Tags

laravelbitcoinexampleexplorerblockchainblocktrail

### Embed Badge

![Health badge](/badges/blocktrail-simple-block-explorer/health.svg)

```
[![Health](https://phpackages.com/badges/blocktrail-simple-block-explorer/health.svg)](https://phpackages.com/packages/blocktrail-simple-block-explorer)
```

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[blocktrail/blocktrail-sdk

The BlockTrail PHP SDK, for integration of Bitcoin functionality through the BlockTrail API

4921.1k3](/packages/blocktrail-blocktrail-sdk)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
