goetas / doctrine2xsd
Convert Tool from Doctrine2 XML mapping to XSD XML Schema
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/goetas/doctrine2xsd
Requires
- php: >=5.3.2
- symfony/class-loader: 2.*
- symfony/console: 2.*
This package is not auto-updated.
Last update: 2020-01-24 15:01:08 UTC
README
Convert Doctrine2 XML mapping into XSD XML Schema
Usage
doctrine2xsd.php doctrine2xsd:generate-xsd /tmp/destination.xsd 'http://www.goetas.com/targetXML-Namespace' \ --ns-map='mercurio.ImmobiNetBundle.Entity:/www/htdocs/immobinet-asmir/vendor-dev/bundles/core/mercurio/ImmobiNetBundle/Resources/config/doctrine/:http://www.goetas.com/targetXML-Namespace' \
This command will pick all Doctrine2 Mapping in /www/htdocs/immobinet-asmir/vendor-dev/bundles/core/mercurio/ImmobiNetBundle/Resources/config/doctrine/
and create XSD schema in /tmp/destination.xsd
.
Entityes with mercurio\ImmobiNetBundle\Entity\*
will be converted in XSD complexType (s) with http://www.goetas.com/targetXML-Namespace
namespace