Download the PHP package cansozeri/php-soap-client without Composer
On this page you can find all versions of the php package cansozeri/php-soap-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cansozeri/php-soap-client
More information about cansozeri/php-soap-client
Files in cansozeri/php-soap-client
Package php-soap-client
Short Description A PHP library for interpreting and binding SOAP messages to PSR-7 HTTP messages
License MIT
Homepage https://github.com/cansozeri/php-soap-client
Informations about the package php-soap-client
General purpose PHP SOAP-client
This package aims to help you with interpreting and binding SOAP 1.1 and SOAP 1.2 messages to PSR-7 HTTP messages.
Installation
Usage
SoapDriver
This soap driver wraps PHPs ext-soap \SoapClient
implementation.
- It abuses the
__doRequest()
method to make it possible to encode the request and decode the response. - Metadata is being parsed based on the
__getTypes()
and__getFunctions()
method.
Example usage
- You can use SoapEngine Trait to create a "Soap Service" Instance. `
SoapOptions
This package provides a little wrapper around all available \SoapClient
options.
We provide some default options and the additional options can be configured.
It will validate the options before they are passed to the \SoapClient
.
This way, you'll spend less time browsing the official PHP documentation.
Example usage
Handlers
HttPlugHandle
Features: LastRequestInfoCollector, MiddlewareSupporting
HTTPlug is a HTTP client abstraction that can be used with multiple client packages. With this handler it is easy to get in control about the HTTP layer of the SOAP client. You can specify one or multiple middlewares that are being applied on your http client. This makes it possible to manipulate the request and response objects so that you can get full control.
This handler knows how to deal with HTTP middlewares if they are supported by your HTTP client.
Dependencies
Load HTTP plug core packages:
Select HTTP Client
Select one of the many clients you want to use to perform the HTTP requests: http://docs.php-http.org/en/latest/clients.html#clients-adapters
Example usage
SoapClientHandle
Features: LastRequestInfoCollector
The SoapClientHandle is used by default and works with the built-in __doRequest()
method.
This Handle is not configurable and can be used for soap implementations which do not use extensions.
It is activated by default to get you going as quick as possible.
Example usage
All versions of php-soap-client with dependencies
psr/log Version ^1.1
symfony/event-dispatcher Version ~5.0
ext-soap Version *
ext-json Version *
ext-dom Version *
ext-xml Version *