superjija / php-xml-binding
Library for extended PHP - XML data manipulation
dev-master
2018-11-19 12:00 UTC
Requires
- php: >=7.0
- ext-dom: *
- ext-json: *
- ext-mbstring: *
- ext-simplexml: *
Requires (Dev)
- phpunit/phpunit: ^6.4
This package is not auto-updated.
Last update: 2025-04-30 15:45:00 UTC
README
This project is based on Christoph Gockel's project XML-Data-Binding for PHP (https://github.com/christophgockel/pibx). It was rewritten for PHP 7.0. It supports XSD restrictions, class namespaces, type checks in function parameters...
Generate PHP classes based on a XML-Schema. These classes can be used to marshal the informations to XML or unmarshal from XML to PHP objects.
Installation
via composer:
composer require jija/php-xml-binding
or you can just download project source files directly
Usage
with composer:
<?php
require __DIR__.'/vendor/autoload.php';
without composer
<?php
require 'path-to-php-xml-binding-dir/autoload.php';