pixelstorage / client
PixelStorage client
Installs: 63
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pixelstorage/client
Requires
- guzzlehttp/guzzle: >=5.2
Requires (Dev)
- crodas/phpunit-compat: ^1.7
- paragonie/random_compat: ^2.0
This package is not auto-updated.
Last update: 2025-10-09 12:32:04 UTC
README
PixelStorage PHP client
Installation
composer require pixelstorage/client
Usage
use PixelStorage; use PixelStorage\Client; // Configure $client = new Client( "http://localhost", // Usage localhost for API calls 'public_key', 'private_key'); // Use for URLs (maybe through a CDN) $client->setHost('https://image.mysite.com/'); PixelStorage::configure($client); // Print the image with some filters echo PixelStorage::image($image_id)->fit(203, 203, 'top-left')->url() . "\n";