PHPackages                             anakadote/bamlt-referrals - 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. anakadote/bamlt-referrals

ActiveLibrary[API Development](/categories/api)

anakadote/bamlt-referrals
=========================

Interface with the BAM LeadTracker Customer Referrer web service.

068PHP

Since Mar 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/anakadote/bamlt-referrals)[ Packagist](https://packagist.org/packages/anakadote/bamlt-referrals)[ RSS](/packages/anakadote-bamlt-referrals/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

BAM Lead Tracker Service Class
==============================

[](#bam-lead-tracker-service-class)

Interface with the BAM Lead Tracker Customer Referrer web service.

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `anakadote/bamlt-referrals`.

```
"require": {
	"anakadote/bamlt-referrals": "dev-master"
}

```

Next, update Composer from the Terminal:

```
composer update

```

Usage / Methods
---------------

[](#usage--methods)

getReferrerToken(string $uri, bool $is\_client\_uri = false)

- **$uri** - (required) BAM Lead Tracker URI
- **$is\_client\_uri** - true for a Client URI, false for a Store URI

    ```
      (new BAMLTReferrals)->getReferrerToken(BAMLT_URI);

    ```

**Other methods:**

```
(new BAMLTReferrals)->submit($customer_info, $input, $referrer_token);
(new BAMLTReferrals)->getReferrals($referral_token);
(new BAMLTReferrals)->getReferralConversions($referral_token);
(new BAMLTReferrals)->getReferralAppointmentConversions($referral_token);
(new BAMLTReferrals)->getReferralTransactionConversions($referral_token);

```

### Laravel

[](#laravel)

To use with Laravel, add the service provider. Open `config/app.php` and add a new item to the providers array.

```
Anakadote\BAMLTReferrals\BAMLTReferralsServiceProvider::class

```

This package is also accessible via a Laravel Facade so to use simply call its methods on the Facade "BAMLTReferrals":

```
BAMLT::send(env('BAMLT_URI'), env('BAMLT_URI_IS_CLIENT_URI'))

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2798169?v=4)[Taylor Collins](/maintainers/anakadote)[@anakadote](https://github.com/anakadote)

---

Top Contributors

[![anakadote](https://avatars.githubusercontent.com/u/2798169?v=4)](https://github.com/anakadote "anakadote (3 commits)")

### Embed Badge

![Health badge](/badges/anakadote-bamlt-referrals/health.svg)

```
[![Health](https://phpackages.com/badges/anakadote-bamlt-referrals/health.svg)](https://phpackages.com/packages/anakadote-bamlt-referrals)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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