Skip to content

OASIS Universal Business Language Schema Validator (UBL v2.0, UBL v2.1, UBL v2.2)

License

Notifications You must be signed in to change notification settings

frankbv/ubl-validator

 
 

Repository files navigation

OASIS UBL Schema Validator

Travis-CI Coverage Status Codacy Badge
OASIS Universal Business Language Schema Validator

Install

Via Composer from packagist.org.

composer require greenter/ubl-validator

Example

use Greenter\Ubl\UblValidator;

$xml = file_get_contents('20000000001-01-F001-1.xml');

$validator = new UblValidator();

if ($validator->isValid($xml)) {
  echo 'Success!!!';
} else {
  echo $validator->getError();
}

About

OASIS Universal Business Language Schema Validator (UBL v2.0, UBL v2.1, UBL v2.2)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%