2017 © Pedro Peláez
 

library client

PixelStorage client

image

pixelstorage/client

PixelStorage client

  • Wednesday, April 11, 2018
  • by crodas
  • Repository
  • 1 Watchers
  • 1 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 29 % Grown

The README.md

PixelStorage PHP client

PixelStorage PHP client, (*1)

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";

The Versions

11/04 2018

dev-master

9999999-dev

PixelStorage client

  Sources   Download

The Requires

 

The Development Requires

by Cesar Rodas