adrianmejias/laravel-routing-numbers

1.0.1 2022-06-19 03:56 UTC

This package is auto-updated.

Last update: 2022-06-20 04:25:29 UTC


README

security tests PHPStan PHP CS Fixer StyleCI Build Status codecov Downloads Packagist License: MIT Liberapay

Laravel API for ACH/NACHA Bank Routing Numbers courty of https://www.routingnumbers.info/.

Installation

This version supports PHP 8.0 or 8.1. You can install the package via composer:

composer require adrianmejias/laravel-routing-numbers

Usage

Example

<?php

use RoutingNumbers;

$bank = RoutingNumbers::bankName('021000021');

Expected Output:

$bank = 'JPMORGAN CHASE';

Api Requests

  • RoutingNumbers::bankName($routingNumber) - Get bank name from routing number.
  • RoutingNumbers::bankData($routingNumber) - Get bank data from routing number.

Testing

composer test

Contributing

Thank you for considering contributing to Laravel Routing Numbers! You can read the contribution guide here.

Code of Conduct

In order to ensure that the community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please see the security file for more information.

License

The MIT License (MIT). Please see the license file for more information.