Skip to content
/ CUSIP Public

A library of code for validating CUSIP codes.

License

Notifications You must be signed in to change notification settings

DPRMC/CUSIP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUSIP

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