dprmc/cusip

A php library for validating CUSIP codes.

v1.0.17 2024-01-09 15:38 UTC

This package is auto-updated.

Last update: 2024-03-09 16:50:36 UTC


README

Latest Stable Version Build Status License Total Downloads Coverage Status

Installation

composer require dprmc/cusip

Usage

use \DPRMC\CUSIP;
$isCusip = CUSIP::isCUSIP('notacusip'); // false
$isCusip = CUSIP::isCUSIP('222386AA2'); // true

Notes

A PHP (v5.6+) library for validating CUSIP codes.

And in case you were wondering what a CUSIP was:

https://en.wikipedia.org/wiki/CUSIP