https://github.com/wsdltophp/wsdlhandler
Decorative design pattern to ease WSDL handling based on DomHandler
https://github.com/wsdltophp/wsdlhandler
decorator decorator-pattern php-library wsdl xsd
Last synced: 11 months ago
JSON representation
Decorative design pattern to ease WSDL handling based on DomHandler
- Host: GitHub
- URL: https://github.com/wsdltophp/wsdlhandler
- Owner: WsdlToPhp
- License: mit
- Created: 2021-01-29T10:58:38.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2024-12-09T21:05:26.000Z (over 1 year ago)
- Last Synced: 2024-12-09T21:28:52.758Z (over 1 year ago)
- Topics: decorator, decorator-pattern, php-library, wsdl, xsd
- Language: PHP
- Homepage:
- Size: 910 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# WSDL Handler
> WSDL Handler provides handful methods to manipulate/browse a WSDL and its schemas.
[](https://packagist.org/packages/wsdltophp/wsdlhandler)
[](https://packagist.org/packages/wsdltophp/wsdlhandler)
[](https://github.com/WsdlToPhp/WsdlHandler)
[](https://scrutinizer-ci.com/g/WsdlToPhp/WsdlHandler/)
[](https://scrutinizer-ci.com/g/WsdlToPhp/WsdlHandler/)
[](https://packagist.org/packages/wsdltophp/wsdlhandler)
[](https://styleci.io/repos/87977980)
[](https://insight.symfony.com/projects/b3232a2b-83c4-4546-92ae-c3f1357f62e9)
WsdlHandler uses the [decorator design pattern](https://en.wikipedia.org/wiki/Decorator_pattern) upon [DomHandler](https://github.com/WsdlToPhp/DomHandler).
The source code has been originally created into the [PackageGenerator](https://github.com/WsdlToPhp/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](https://www.docker.com/)
Thanks to the [Docker image](https://hub.docker.com/r/splitbrain/phpfarm) of [phpfarm](https://github.com/fpoirotte/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](https://docs.docker.com/compose/) by running the below command line from the root directory of the project:
```bash
$ 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:
```bash
# 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](.github/CONTRIBUTING.md) for details.
## FAQ
Feel free to [create an issue](https://github.com/WsdlToPhp/WsdlHandler/issues/new).
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.