2017 © Pedro Peláez
 

library php-isan-number-validator

A simple PHP class to validate and format ISAN numbers

image

wronx/php-isan-number-validator

A simple PHP class to validate and format ISAN numbers

  • Monday, November 28, 2016
  • by WRonX
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP ISAN Number Validator

This piece of poorly written code may help you with validating and formatting ISAN Number. Or may not. I don't know, I'm a plumber, not a fortune-teller., (*1)

License:

Copyright © 2016 github.com/WRonX
This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://www.wtfpl.net/ for more details., (*2)

Features:

  • validating ISAN Number
  • formatting ISAN Number
  • ...
  • PROFIT

Installation and configuration:

php composer.phar require wronx/php-isan-number-validator "dev-master", (*3)

Usage

Seriously...? OK, OK..., (*4)

Validating ISAN Number
use WRonX\Utils\IsanNumberValidator;
// ...
$isanNumber = '0000000160aa0004W00000000f';
$isNumberValid = IsanNumberValidator::validate($isanNumber);
Formatting ISAN Number
use WRonX\Utils\IsanNumberValidator;
// ...
$isanNumber = '0000000160aa0004W00000000f';
$formattedIsanNumber = IsanNumberValidator::format($isanNumber);

Summary

Oh, come on, I spent enough time writing readme already..., (*5)

The Versions

28/11 2016

dev-master

9999999-dev https://github.com/WRonX/PHPIsanNumberValidator

A simple PHP class to validate and format ISAN numbers

  Sources   Download

WTFPL

The Requires

  • php >5.4

 

The Development Requires

  • php >5.4

php validator isan

28/11 2016

v0.9-RC

0.9.0.0-RC https://github.com/WRonX/PHPIsanNumberValidator

A simple PHP class to validate and format ISAN numbers

  Sources   Download

WTFPL

The Requires

  • php >5.4

 

The Development Requires

  • php >5.4

php validator isan