Download the PHP package jooservices/xcrawler-client without Composer
On this page you can find all versions of the php package jooservices/xcrawler-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jooservices/xcrawler-client
More information about jooservices/xcrawler-client
Files in jooservices/xcrawler-client
Download jooservices/xcrawler-client
More information about jooservices/xcrawler-client
Files in jooservices/xcrawler-client
Vendor jooservices
Package xcrawler-client
Short Description Wrapper for Guzzle HTTP Client
License MIT
Package xcrawler-client
Short Description Wrapper for Guzzle HTTP Client
License MIT
Please rate this library. Is it a good library?
Informations about the package xcrawler-client
XCrawler client
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 xcrawler-client with dependencies
PHP Build Version
Package Version
Requires
php Version
8.*
guzzlehttp/guzzle Version ^7.4
psr/log Version ^1.1
monolog/monolog Version ^2
nesbot/carbon Version ^2.50
symfony/dom-crawler Version ^5.3
guzzlehttp/guzzle Version ^7.4
psr/log Version ^1.1
monolog/monolog Version ^2
nesbot/carbon Version ^2.50
symfony/dom-crawler Version ^5.3
The package jooservices/xcrawler-client contains the following files
Loading the files please wait ....