PHPackages                             wessama/php-bin-lookup - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wessama/php-bin-lookup

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wessama/php-bin-lookup
======================

A PHP package for looking up BIN numbers.

v1.0.0(2y ago)010MITPHPPHP ^8.1

Since Oct 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wessama/php-bin-lookup)[ Packagist](https://packagist.org/packages/wessama/php-bin-lookup)[ RSS](/packages/wessama-php-bin-lookup/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

PHP BIN Lookup
==============

[](#php-bin-lookup)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d3a99bb7d24134194b9acbb582536bca32b288111122900e190e7a268cb3f7bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77657373616d612f7068702d62696e2d6c6f6f6b75702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wessama/php-bin-lookup)[![Total Downloads](https://camo.githubusercontent.com/af44069b5f050c40cb10fed690ae6de88aa319e6d7243a8bab9395167c5494fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77657373616d612f7068702d62696e2d6c6f6f6b75702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wessama/php-bin-lookup)

`php-bin-lookup` is a versatile package designed for looking up bank information using BIN (Bank Identification Number). It can be used as a standalone package or within a Laravel project.

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

[](#installation)

### With Composer

[](#with-composer)

1. Install the package via Composer:

    ```
    composer require wessama/php-bin-lookup
    ```

### Manual Installation

[](#manual-installation)

1. Clone the repository into your project:

    ```
    git clone https://github.com/wessama/php-bin-lookup.git
    ```
2. Navigate to the package directory and install the dependencies:

    ```
    cd php-bin-lookup
    composer install
    ```

Configuration
-------------

[](#configuration)

### Environment Variables

[](#environment-variables)

`php-bin-lookup` can utilize environment variables from a `.env` file. If used within a Laravel project, it will automatically use the Laravel project’s `.env` file. For non-Laravel projects, you need to load the `.env` file manually if it's located in a different directory.

To load a custom `.env` file, use the `loadEnv` method:

```
WessamA\BinLookup\ConfigLoader::loadEnv('/path/to/your/env/directory');
```

Laravel Service Provider and Configuration Publishing
-----------------------------------------------------

[](#laravel-service-provider-and-configuration-publishing)

If you are using this package within a Laravel project, register the service provider in your config/app.php:

```
'providers' => [
    // ...
    WessamA\BinLookup\Providers\BinLookupServiceProvider::class,
],
```

Then, publish the package’s configuration file to your application’s config directory:

```
php artisan vendor:publish --provider="WessamA\BinLookup\BinLookupServiceProvider"

```

### Support

[](#support)

For support, please open an issue on the GitHub repository.

### License

[](#license)

PHP-BIN-Lookup is open-sourced software licensed under the MIT license.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

947d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/395d9c956658287ad592092118bbbd16642bf3fb480b2d2cd703b3a2fae567eb?d=identicon)[wessama](/maintainers/wessama)

---

Top Contributors

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

---

Tags

laravelphpphppackageSkeleton

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wessama-php-bin-lookup/health.svg)

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

###  Alternatives

[nunomaduro/skeleton-php

A skeleton repository for my packages

9761.4k](/packages/nunomaduro-skeleton-php)

PHPackages © 2026

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