shadiakiki1986/xsd-to-php

There is no license information available for the latest version (0.1.0) of this package.

Legko XML: compile XSD schema to PHP, XML marshalling/unmashalling http://mikebevz.com/xsd-to-php-tool/

0.1.0 2017-01-31 18:15 UTC

This package is auto-updated.

Last update: 2024-03-27 01:42:55 UTC


README

Legko XML

[![Build Status](https://travis-ci.org/shadiakiki1986/XSD-to-PHP.svg?branch=master)](http://travis-ci.org/shadiakiki1986/XSD-to-PHP)

!!!!
Note: We are constantly looking for user stories on how they used LegkoXML (XSD2PHP).
If you would like to help to our project, please send your story about how you have used
LegkoXML in your project. Email is myb (at) mikebevz (dot) com. 
!!!!

See PhpDocs at http://legkoxml.org/docs
Discussion Group http://groups.google.com/group/legkoxml-support

With the present library you are able to compile PHP binding from XML Schema files, 
and consequently, bind XML files to PHP models (unmarshalling), and save PHP bindings 
as XML (marshalling).

Installation

 # Enable the php5 XSL extension: [sudo] apt-get install php5-xsl
 # composer require shadiakiki1986/xsd-to-php
 # composer install

Testing

 # git clone ...
 #composer run-script test

Versions history

Current release
 # Fixed #24: Fix problem with WSDL generation - soap:operation must not have any child 

0.0.5 Major refactoring 
 # Fixed #17: Array of objects is not converted to XML correctly
 # Implemented #12: Feature: WSDL generator utilizing existing mapping in classes
 # Added NullLogger - mock for logger. It will be used later for #18: Feature: Logger injection
 # #13 Command line tool: Initial version developed, compile-schema target only.
 # #8 Create facade class: Initial version implemented, only compileSchema method works. (See LegkoXml.php)
 
0.0.4 Issue #12. WSDL autodiscovery
 # Fixed #10: Directory structure do not correspond to PHP namespaces
 # Fixed #5: Add debug output option to XSD2PHP
 # Fixed #9: Generated WSDL tested with Zend_Soap
 # WSDL tested with Apache CXF

0.0.3 XML generation refactored
 # namespaces generated as ns0 ... nsX 
 # Fixed #4: added @var to PHP models with full class name (with namespace)
 
0.0.2 XSD Imports and includes routines rewritten
 # Refactored XSD import and include tags processing
 # Fixed problem with numeric namespaces in generated PHP models
 # Added new test cases: Multi level include and import processing, custom schema based on UBL2.0
 
0.0.1 Initial release
 # Compile XSD to PHP
 # Marshal/unmarshal XML 


==========
If you wanna help the project you are welcome to donate BitCoins. Send those to account 1P6iMj85EmYMqgxDkNkDVWWMm7h5EmMM7a