PHPackages                             blockscore/blockscore-php - 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. blockscore/blockscore-php

ActiveLibrary[API Development](/categories/api)

blockscore/blockscore-php
=========================

An API wrapper for the BlockScore API using PHP.

v4.1.0(7y ago)437.4k↓27.4%12[1 issues](https://github.com/BlockScore/blockscore-php/issues)MITPHPPHP &gt;=5.3.29

Since Mar 12Pushed 7y ago17 watchersCompare

[ Source](https://github.com/BlockScore/blockscore-php)[ Packagist](https://packagist.org/packages/blockscore/blockscore-php)[ RSS](/packages/blockscore-blockscore-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

blockscore-php [![Travis Build Status](https://camo.githubusercontent.com/adba4905b6e39ab55b142f923160f15b39905c3cde79f09b1885305ca80595f6/68747470733a2f2f7472617669732d63692e6f72672f426c6f636b53636f72652f626c6f636b73636f72652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/BlockScore/blockscore-php) [![PHP version](https://camo.githubusercontent.com/7572794b631fbed25c18f0f4367928a27751e09bcc945ccdb0c6f4c418667372/68747470733a2f2f62616467652e667572792e696f2f70682f626c6f636b73636f7265253246626c6f636b73636f72652d7068702e737667)](https://github.com/BlockScore/blockscore-php/releases)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#blockscore-php--)

This is the official PHP client library of the [BlockScore API](https://blockscore.com). You can sign up for an account on [our dashboard](https://manage.blockscore.com/signup).

### Requirements

[](#requirements)

PHP 5.3.29 and later.

### Composer

[](#composer)

This library [can be used through Composer](https://packagist.org/packages/blockscore/blockscore-php). To get started, add the following to your `composer.json`:

```
{
  "require": {
    "blockscore/blockscore-php": "4.*"
  }
}
```

Make sure to install the changes:

```
composer.phar install

```

Make sure that Composer autoload is added somewhere in your project like so:

```
require_once('vendor/autoload.php');

```

### Manual Installation

[](#manual-installation)

If you would rather manually include the library in your project, you can [download this repository](https://github.com/BlockScore/blockscore-php/archive/master.zip) and add the following line to your project:

```
require_once('/path/to/blockscore-php/init.php');

```

### Getting Started

[](#getting-started)

This is an example of creating a person verification and setting up the library:

```
\BlockScore\BlockScore::setApiKey('sk_test_11111111111111111111111111111111');

$person = \BlockScore\Person::create(array(
    'name_first' => 'Jane',
    'name_last' => 'Doe',
    'birth_day' => 1,
    'birth_month' => 1,
    'birth_year' => 1990,
    'document_type' => 'ssn',
    'document_value' => '0000',
    'address_street1' => '123 Something Ave',
    'address_city' => 'Newton Falls',
    'address_subdivision' => 'OH',
    'address_postal_code' => '44444',
    'address_country_code' => 'US',
));

var_dump($person);
```

### Documentation

[](#documentation)

Our [API Reference](http://docs.blockscore.com/php) contains all of the code examples for this library.

### Tests

[](#tests)

If you want to run our test suite, please install [PHPUnit](https://packagist.org/packages/phpunit/phpunit) using [Composer](https://getcomposer.org/)

```
composer.phar update --dev

```

To run the client lib's test suite, run

```
./vendor/bin/phpunit

```

### Credit

[](#credit)

This library is largely based on the wonderful [stripe-php](https://github.com/stripe/stripe-php) library.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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

Every ~318 days

Total

5

Last Release

2813d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/423f08b375959a6cd0c9222e9f62ef4a7b4188b56d435bd4a3798d3094a898e4?d=identicon)[alain](/maintainers/alain)

![](https://avatars.githubusercontent.com/u/103654?v=4)[Tim Chambers](/maintainers/tjchambers)[@tjchambers](https://github.com/tjchambers)

![](https://avatars.githubusercontent.com/u/4211073?v=4)[Daniel Gollahon](/maintainers/dgollahon)[@dgollahon](https://github.com/dgollahon)

---

Top Contributors

[![andrewjkerr](https://avatars.githubusercontent.com/u/1739462?v=4)](https://github.com/andrewjkerr "andrewjkerr (52 commits)")[![alainmeier](https://avatars.githubusercontent.com/u/138621?v=4)](https://github.com/alainmeier "alainmeier (24 commits)")[![bayareamarketing](https://avatars.githubusercontent.com/u/6959376?v=4)](https://github.com/bayareamarketing "bayareamarketing (12 commits)")[![tjchambers](https://avatars.githubusercontent.com/u/103654?v=4)](https://github.com/tjchambers "tjchambers (7 commits)")[![dgollahon](https://avatars.githubusercontent.com/u/4211073?v=4)](https://github.com/dgollahon "dgollahon (4 commits)")[![barofsoap](https://avatars.githubusercontent.com/u/3084012?v=4)](https://github.com/barofsoap "barofsoap (2 commits)")[![bensonarts](https://avatars.githubusercontent.com/u/140198?v=4)](https://github.com/bensonarts "bensonarts (1 commits)")[![mrmarkfrench](https://avatars.githubusercontent.com/u/865255?v=4)](https://github.com/mrmarkfrench "mrmarkfrench (1 commits)")[![nickescobedo](https://avatars.githubusercontent.com/u/2837169?v=4)](https://github.com/nickescobedo "nickescobedo (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/blockscore-blockscore-php/health.svg)

```
[![Health](https://phpackages.com/badges/blockscore-blockscore-php/health.svg)](https://phpackages.com/packages/blockscore-blockscore-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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