goetas / doctrine2xsd
This package is abandoned and no longer maintained.
No replacement package was suggested.
Convert Tool from Doctrine2 XML mapping to XSD XML Schema
dev-master / 1.0.x-dev
2013-07-18 14:25 UTC
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