Download the PHP package php-soap/encoding without Composer
On this page you can find all versions of the php package php-soap/encoding. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package encoding
Encoding
This package provides a pure PHP drop-in replacement for the ext-soap
encoding logic.
It can be used as a driver so that you don't have to install PHP's soap extension on your machine anymore.
Thanks
This project was funded by the sponsorship of buhta.com.
Want to help out? 💚
Want more information about the future of this project? Check out this list of the next big projects we'll be working on.
Installation
Example usage
EncoderRegistry
The EncoderRegistry
is a collection of encoders that can be used to encode and decode data.
By default, we provide a broad set of encoders to perform the basic soap encoding logic.
However, you can configure how the encoding should be done by adding your own encoders to the registry.
Some examples:
Encoder
Encoding and decoding is based on small XmlEncoder
classes that are responsible for encoding and decoding a specific type of data.
You can either use one of the provided encoders or create your own.
Building a custom encoder can look like this:
Note: An encoder is considered to be isomorphic : When calling from
and to
on the Iso
object, the data should be the same.
More information about the concept can be found here.
For a full list of available encoders, you can check the Soap\Encoding\Encoder namespace. There are also some examples of common problems you can solve with these encoders in the examples/encoders directory.
All versions of encoding with dependencies
azjezz/psl Version ^3.0
veewee/reflecta Version ~0.10
veewee/xml Version ^3.3
php-soap/engine Version ^2.13
php-soap/wsdl Version ^1.12
php-soap/xml Version ^1.8
php-soap/wsdl-reader Version ~0.18