2017 © Pedro Peláez
 

library resized

On-demand image manipulation service.

image

square1/resized

On-demand image manipulation service.

  • Thursday, July 28, 2016
  • by ciaranmaher
  • Repository
  • 4 Watchers
  • 1 Stars
  • 4,722 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 18 % Grown

The README.md

Resized

This is the PHP client for resized.co, a realtime image resize manipulation service., (*1)

Install

Via Composer, (*2)

``` bash $ composer require square1/resized, (*3)


## Usage ``` php //Initialize and authenticate $resized = new \Square1\Resized\Resized('key', 'secret'); //Override host if applicable $resized->setHost('https://img.resized.co'); //Set the default failover image $resized->setDefaultImage('http:/www.example.com/no-image.jpg'); //Set default options $resized->setDefaultOptions(['quality' => 100]); //Process image resize with the parameters: ($url, $width, $height, $title) $img = $resized->process('http://www.example.com/some-image.jpg', '100', '100', 'This is a title');

Testing

bash $ composer test, (*4)

License

The MIT License (MIT). Please see License File for more information., (*5)

The Versions

28/07 2016

dev-master

9999999-dev https://github.com/square1-io/resized-php

On-demand image manipulation service.

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

image manipulation square1 resized

28/07 2016

v1.0.2

1.0.2.0 https://github.com/square1-io/resized-php

On-demand image manipulation service.

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

image manipulation square1 resized

14/03 2016

v1.0.1

1.0.1.0 https://github.com/square1-io/resized-php

On-demand image manipulation service.

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

image manipulation square1 resized

14/03 2016

dev-handle-invalid-img-urls

dev-handle-invalid-img-urls https://github.com/square1-io/resized-php

On-demand image manipulation service.

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

image manipulation square1 resized

09/03 2016

v1.0

1.0.0.0 https://github.com/square1-io/resized-php

On-demand image manipulation service.

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

image manipulation square1 resized