xsd2php icon indicating copy to clipboard operation
xsd2php copied to clipboard

Convert XSD into PHP classes and serialize into XML (deserialize too)

Results 22 xsd2php issues
Sort by recently updated
recently updated
newest added

How to resolve lost of NotNull validations? Tipo, Numero and Data elements are losting NotNull. **Old xsd:** ` > > > Ato regulatório de reconhecimento > > > > >...

Issue explained in Satckoverflow: https://stackoverflow.com/questions/59917635/serialize-to-xml-properties-with-attributes-using-jms-serializer-and-yaml-procuc Are there any solution or is it a bug?

question

Find a way to document 'enumerations' imposed by some SimpeTypes. A possible way can be: ``` php /** * Set the code doc... * @param string $code ... Possible values:...

question

Hi, This yml metadata was generated: ``` Mobile\Search\SearchResult: xml_root_name: search-result xml_root_namespace: 'http://services.mobile.de/schema/search' properties: total: expose: true access_type: public_method serialized_name: total xml_element: namespace: 'http://services.mobile.de/schema/search' accessor: getter: getTotal setter: setTotal type: integer...

question

I wanted to get values from xsd:enumeration elements in my project and I saw that @demonkoryu had done work to add that feature. This repo has been updated a bit...

Hi, I have a complex XSD that I reversed engineered into PHP classes and JMS YAML using this project. For simplicity, I am only focusing on the PHP class `EmployerId`...

Two naming strategies, which are use accurate properties naming from XSD. May be useful if you have `LikeThisOne` properties naming in XSD and you want same naming in generated classes.

enhancement

When generating YAML metadata files to be used with JMS Serializer, it seems that for EACH element the XML namespace is defined in the resulting YAML files. Also for nested...

Is there a easy way to create classmap array to map soap types and generated phpclasses? If there isn't maybe would be good idea to add this feature?

enhancement
minor

First, thank you for your project. helps me a lot. I have problem while process following xml section: ``` xml ``` Error: [Zend\Code\Generator\Exception\InvalidArgumentException] A method by name getId already exists...

bug
enhancement
complex