Skip to content

2.5.0

Compare
Choose a tag to compare
@clemlatz clemlatz released this 10 Jan 20:56
· 70 commits to main since this release
49de9e6

This update adds support for the ISBN-A/DOI format. You can thank @rlueder for that!
It introduces a new method to do so:

Isbn::convertToIsbnA("9782207258040"); // returns "10.978.2207/258040"

Also, trying to validate an ISBN with an unknown range will throw an IsbnParsingException instead of a cryptic PHP Notice about array offsets. Thanks to @StefanGlaesser for pointing that out.

Isbn::convertToIsbn13("9786303025575"); // throws "Cannot find any ISBN range matching prefix 978-630"