generate PHP classes from XSD?

后端 未结 8 2150
春和景丽
春和景丽 2020-12-05 07:41

Is there in the world analogues of JavaBeans or JAXB for PHP? Is it possible to generate PHP classes from XML schema?

It\'s common practice to publish API\'s as XSD

8条回答
  •  孤街浪徒
    2020-12-05 07:56

    I looked into that a while ago, and I certainly could not find one. If your schema is simple, there's a guy who hacked a simple version together for flat schemas.

    That's all I know about. Normally these guys are good at supporting languages other than the main ones, but they don't do PHP either.

提交回复
热议问题