PHPackages                             tjphippen/hart - 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. tjphippen/hart

ActiveLibrary

tjphippen/hart
==============

Hart Credit Reports for Laravel 5

041PHP

Since Aug 31Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Hart Credit Reports for Laravel 5
=================================

[](#hart-credit-reports-for-laravel-5)

[![Latest Stable Version](https://camo.githubusercontent.com/fde367e8ae92fa5d0ab670b0007121d8a5111e3a7f952ede02f0e35224cc961b/68747470733a2f2f706f7365722e707567782e6f72672f746a7068697070656e2f686172742f762f737461626c652e706e67)](https://packagist.org/packages/tjphippen/hart) [![Total Downloads](https://camo.githubusercontent.com/ab29e2b854c4aa52138e962f06e2f30dc615ad485d168e1e8c3e858f7be68860/68747470733a2f2f706f7365722e707567782e6f72672f746a7068697070656e2f686172742f646f776e6c6f6164732e706e67)](https://packagist.org/packages/tjphippen/hart)

- [Packagist](https://packagist.org/packages/tjphippen/hart)
- [GitHub](https://github.com/tjphippen/hart)

---

Installation
------------

[](#installation)

Add the following to your `composer.json` file.

```
"tjphippen/hart": "0.1.*@dev"

```

Then run `composer install` or `composer update` to download and install.

You'll then need to register the service provider in your `config/app.php` file within `providers`.

```
'providers' => array(
    'Tjphippen\Hart\HartServiceProvider',
)
```

This package includes a auto registered facade which provides the static syntax for running/retrieving credit reports.

### Create configuration file using artisan

[](#create-configuration-file-using-artisan)

```
$ php artisan vendor:publish

```

The configuration file will be published to `config/hart.php` which must be completed to make connections to the API. In order to use this package you must first have account credentials to access the API provided by [Hart Software](http://www.hartsoftware.com/view/Solutions_Credit_Reports)

```
    /**
     * Environment (development or production)
     */
    'env' => 'development',

    /**
     * Hart Account
     */
    'account' => '',

    /**
     * Hart Password
     */
    'passwd' => '',
...
```

Examples
--------

[](#examples)

#### Run Credit Report

[](#run-credit-report)

You may send an array with the persons details like below

```
Hart::getCredit(array(
   'name' => 'John Doe',
   'address' => '123 Fake Street',
   'city' => 'Faketown',
   'state' => 'CA',
   'zip' => '55555',
   'dob' => '08/25/1991',
   'ssn' => '123456789',
   );
```

Or simply use an object returned by an Eloquent model.

```
$customer = Customer::findOrFail($customerId); // Model not included :P
Hart::getCredit($customer);
```

#### Get Previous Report by Token

[](#get-previous-report-by-token)

```
$token = 'XXXXXXXXXXXXXX...';
Hart::getByToken(['token' => $token]);
```

Currently both functions return a full response object. I've added a chainable -&gt;parse() method to return the following.

```
{
    "transaction": "995284100",
    "token": "F94OtZHJKthWudshcdnJI3YLRRwaappmIYo2Dp...",
    "score": 566,
    "reasons": [
        "Serious delinquency, and derogatory public record or collection files",
        "Number of accounts with delinquency",
        "Time since delinquency is too recent or unknown"
    ]
}

```

Or you can return a full SimpleXMLElement and parse to fit your needs.

```
Hart::getCredit($customer)->xml;
```

Change Log
----------

[](#change-log)

#### v0.1.0

[](#v010)

- Released

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7889253cdf133c87686f4bc3be4defc841f80978fec3a36ac24e4f493e73ab7?d=identicon)[tjphippen](/maintainers/tjphippen)

### Embed Badge

![Health badge](/badges/tjphippen-hart/health.svg)

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

PHPackages © 2026

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