Skip to content

Commit

Permalink
more IMEI tests and README
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanguilloux committed Jan 9, 2021
1 parent cd0e252 commit a7e2c98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -31,6 +31,9 @@ $isPhonable = PhoneNumber::validate('+1-650-798-2800', 'US')

// Buying Apple stocks?
$isISIN = Isin::validate('US0378331005'); // Apple Inc. (AAPL)

// Checking your iPhone device is valid?
$isDevice = Imei::validate('352066060926230');
```


Expand All @@ -44,11 +47,12 @@ $isISIN = Isin::validate('US0378331005'); // Apple Inc. (AAPL)
* Credit Card number
* SEDOL (Stock Exchange codes)

### Book / Music Industries
### Manufacturing Industries

* ISBN - International Standard Book Number, both 10 & 13 digits
* ISMN - International Standard Music Number
* ISWC - International Standard Musical Work Code
* IMEI - International Mobile Equipment Identity

### Public Administrations

Expand Down
1 change: 1 addition & 0 deletions tests/IsoCodes/Tests/ImeiTest.php
Expand Up @@ -20,6 +20,7 @@ public function getValidValues()
['35-209900-176148-23'], // same, IMEISV, last 2 digit are a software version, not a checksum
['3520990017614823'], // same
['490154203237518'], // https://en.wikipedia.org/wiki/International_Mobile_Equipment_Identity
['352066060926230'], // iPhone6 https://www.imei-index.com/iphone-6-imei-checker-352066060926230-canada/
];
}

Expand Down

0 comments on commit a7e2c98

Please sign in to comment.