Answer the question
In order to leave comments, you need to log in
What is currently the best library for working with SOAP in PHP?
Introductory requirements of the Wishlist (criteria for "better"):
1) Modern library (PSR, tests). Not necessarily popular and full-featured, you need a normal architectural backlog
2) Transparent generation of WSDL from classes
3) A convenient mechanism for casting the generated WSDL to the desired form (data types, complex types), for example, through annotations or configuration
4) Casting incoming parameters to a given type, according to clause 3
5) No binding to any framework
To implement the SOAP protocol (both client and server parts) in PHP, I considered the following options:
1) Zend-SOAP - the existing AutoDiscover (WSDL generator) works rather lousy, it is unrealistic to adapt , you need to write your implementation next to it.
2) BeSimple SOAP - the most interesting functionality is concentrated in the symfony bundle, the general confusion of the code.
Before writing your own implementation or deeply altering an existing one, I want to understand if I missed anything in the solutions considered?
Answer the question
In order to leave comments, you need to log in
After a lot of research, we implemented our own wrapper over Zend/Soap.
General considerations are as follows:
I hope to publish it in open-source in the near future.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question