After spending some time in December on my WsdlToClass project it now has become a proper generator to be used when implementing an SOAP API based on an WSDL file.
On of the latest issues I wanted to resolve actually had me realise I had overlooked a very important issue. It wasn’t PSR-4 compliant. With this being one of the key features of modern PHP this was something I really needed to fix.
With a little help from the Nikic php-parser the correct namespace and classname from the generated code can be derived in order to write the generated code to the correct file name. As a benefit anyone can alter the template or create its own and it will be written to the correct file location.
Found a typo? Please help improve this article.