Skip to content

Decorative design pattern to ease WSDL handling based on DomHandler

License

Notifications You must be signed in to change notification settings

WsdlToPhp/WsdlHandler

Repository files navigation

WSDL Handler

WSDL Handler provides handful methods to manipulate/browse a WSDL and its schemas.

License Latest Stable Version TeamCity build status Scrutinizer Code Quality Code Coverage Total Downloads StyleCI SymfonyInsight

WsdlHandler uses the decorator design pattern upon DomHandler.

The source code has been originally created into the PackageGenerator project but it felt that it had the possibility to live by itself and to evolve independtly from the PackageGenerator project if necessary.

Testing using Docker

Thanks to the Docker image of phpfarm, tests can be run locally under any PHP version using the cli:

  • php-7.4

First of all, you need to create your container which you can do using docker-compose by running the below command line from the root directory of the project:

$ docker-compose up -d --build

You then have a container named wsdl_handler in which you can run composer commands and php cli commands such as:

# install deps in container (using update ensure it does use the composer.lock file if there is any)
$ docker exec -it wsdl_handler php-7.4 /usr/bin/composer update
# run tests in container
$ docker exec -it wsdl_handler php-7.4 -dmemory_limit=-1 vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

FAQ

Feel free to create an issue.

License

The MIT License (MIT). Please see License File for more information.