Download the PHP package jooservices/xclient without Composer
On this page you can find all versions of the php package jooservices/xclient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package xclient
XClient
Wrapped for GuzzleHttp Client
Factory
used for making Client with wrapped middlewares
- Cache
- Mocking for Tests
XCrawlerClient
is Factory
wrapper with advanced thing
- Parse
response
(ResponseInterface
)
Here are few implementation of ResponseInterface
DomResponse
automatically concert to DomCrawlerJsonResponse
automatically convert json to arrayFlickrResponse
specific for Flickr jsonNow
specific for NowService
How to work with cache
$local = new FlysystemStorage(new Local(__DIR__ . '/cache'));
$url = $this->faker->url;
$cache = new CacheMiddleware(
new PrivateCacheStrategy(
$local
)
);
$factory = new Factory($this->logger, 200);
How to work with mocks
Provide 4xx - 5xx for Error case
$factory = new Factory($this->logger, 200);
TODO
- Support OAuth 1/2
- Support Flickr
All versions of xclient with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
guzzlehttp/guzzle Version ^7.
fakerphp/faker Version ^1.21
psr/log Version ^3.0
symfony/dom-crawler Version ^6.2
guzzlehttp/guzzle Version ^7.
fakerphp/faker Version ^1.21
psr/log Version ^3.0
symfony/dom-crawler Version ^6.2
The package jooservices/xclient contains the following files
Loading the files please wait ....