Download the PHP package dantepiazza/apify without Composer
On this page you can find all versions of the php package dantepiazza/apify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dantepiazza/apify
More information about dantepiazza/apify
Files in dantepiazza/apify
Download dantepiazza/apify
More information about dantepiazza/apify
Files in dantepiazza/apify
Vendor dantepiazza
Package apify
Short Description Lightweight Apify API client with optional JSON file caching and extensible normalization.
License MIT
Package apify
Short Description Lightweight Apify API client with optional JSON file caching and extensible normalization.
License MIT
Please rate this library. Is it a good library?
Informations about the package apify
dantepiazza/apify
Lightweight Apify API client for PHP. No framework dependencies — only Guzzle.
Features:
- Fetch Instagram posts via Apify with a single method call
- JSON file cache enabled by default — identical queries skip the Apify run entirely
- Cache key derived from all query parameters — any change (accounts, limit, extras) triggers a fresh run
- Extensible normalizer — swap
PassthroughNormalizerfor your own field mapping - Cache driver is swappable via
CacheInterface— bring your own Redis, DB, etc.
Installation
Quick start
By default the result is cached in sys_get_temp_dir()/dantepiazza_apify/. Calling the same query again returns the cached JSON instantly without hitting Apify.
Cache behaviour
| Scenario | What happens |
|---|---|
| Same accounts + same limit | Returns cached JSON |
| Different accounts | Cache MISS → fresh Apify run |
| Different limit | Cache MISS → fresh Apify run |
Any $extra param changed |
Cache MISS → fresh Apify run |
Custom cache directory & TTL
Disable cache globally
Disable cache for a single call
Flush all cached entries
Bring your own cache driver
Implement DantePiazza\Apify\Contracts\CacheInterface:
Custom normalizer
By default items are returned exactly as Apify delivers them (PassthroughNormalizer).
To apply your own field mapping, implement NormalizerInterface:
Full constructor reference
Directory structure
License
MIT
All versions of apify with dependencies
PHP Build Version
Package Version
The package dantepiazza/apify contains the following files
Loading the files please wait ...