Download the PHP package heyanlong/idiot without Composer
On this page you can find all versions of the php package heyanlong/idiot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package idiot
Idiot
Dubbo is a distributed service framework empowers applications with service import/export capability with high performance RPC.
This is only dubbo php clinet implementation. It's only support Hessian now.
You must start dubbo and zookeeper, register prividers first.
Requirement
If you have not installed zookeeper extension for php, then
MacOS
Linux
Maybe occuring an error with "zookeeper support requires libzookeeper" when you install the zookeeper extension, you should install the libzookeeper needed, And add zookeeper.so to your php.ini
Windows
Installation
Install the latest version with
Usage
Numerical parameters will get the suitable data type according to the numerical region, but this often is not accurate.Such as the remote service request is a integer type of data, if the passing 951 such argument, Client will automatically mapped to a short type, it for remote service have been a strong Type of service can lead to fatal exception, at this time we need client to use Type Class to explicitly pass the parameter value and data type (in fact this is the way we recommended, because automatic mapping is unreliable)
String, we can simply pass the string can be directly, also can use the Type Class of course explicitly pass
When we try to pass a Java object as a parameter, you need to define an object type
The following an example would be a complex remote invocation, we suggest that the numeric type (or even all of the data type) at any time using Type Class wrapped the original data , it will be a good habit
Support the data wrapping type
License
Idiot is licensed under the MIT License - see the LICENSE
file for details