Download the PHP package btafoya/fxmlrpc without Composer
On this page you can find all versions of the php package btafoya/fxmlrpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package fxmlrpc
fxmlrpc: really fast XML/RPC for PHP
- A convenient, object oriented API (similar to the XML/RPC client in Zend Framework)
- Very fast serializing and parsing of the XML payloads involved
- Stick to the HTTP client you already use: Buzz, ZF1/ZF2 HTTP client, Guzzle, PECL HTTP
- Licensed under the terms of the liberal MIT license
- Supports modern standards: easy installation via composer, fully PSR-0, PSR-1 and PSR-2 compatible
- Relentlessly unit- and integration tested
- Implements all known XML/RPC extensions
Latest improvements
[BUG]
Fixing huge issue inXmlWriterSerializer
(see #4 for details)[FEATURE]
Special API for multicall[FEATURE]
Supports all Java XML/RPC extensions[BC]
fXmlRpc\AbstractDecorator
andfXmlRpc\ClientInterface
now includes methods to prepend and append parameters[BC]
fXmlRpc\Client
is marked as final. Properties marked as private. Extend via decorator.[BC]
Marked deprecated constructor offXmlRpc\Value\Base64
as private. Additionally, the value object is final now[TESTING]
Integration test suite against Java XML/RPC and Python XML/RPC[BUG]
Fixing implicit string type handling (where string is no child of value)[IMPROVEMENT]
Improved exception handling[BC]
Changing naming scheme to studly caps[BUG]
Fixing various array/struct edge cases[IMPROVEMENT]
Small memory and performance improvements for serializers and parsers[BC]
Deprecated constructor offXmlRpc\Value\Base64
and introduced::serialize()
an::deserialize()
instead.[FEATURE]
AddingfXmlRpc\Client::prependParams()
andfXmlRpc\Client::appendParams()
to set default params. This helps e.g. when you need to add authorization information for every call[FEATURE]
Timing Loggers now support threshold based logging to ease controlling your servers responds in a certain time[TESTING]
Travis now runs the test suite against various versions of supported HTTP clients and logging components.
How fast is it really?
IO performance is out of reach from a userspace perspective, but parsing and serialization speed is what matters. How fast can we generate the XML payload from PHP data structures and how fast can we parse the servers response? fXmlRpc uses stream based XML writers/readers to achieve it’s performance and heavily optimizes (read uglifies) for it. As as result the userland version is only around 2x slower than the native C implementation (ext/xmlrpc).
Parser
Serializer
Usage
Basic Usage
Using native (ext/xmlrpc based) serializer/parser (for even better performance)
Prepending and appending arguments
Using a convenient Proxy object
Helpful abstraction for multicall requests
Integration for various HTTP clients
Timing XML/RPC requests to find problematic calls
fXmlRpc allows you to time your XML/RPC request, to find out which took how long. It provides a
fXmlRpc\Timing\TimingDecorator
which can be used with various timers implementing
fXmlRpc\Timing\TimerInterface
. Currently implemented are bridges for Monolog, Zend Framework 1
Zend_Log
and Zend Framework 2 Zend\Log
.
Usage: