2017 © Pedro Peláez
 

library laravel5-phumbor

Laravel 5 package adding support for the Phumbor PHP library for Thumbor.

image

r0bdiablo/laravel5-phumbor

Laravel 5 package adding support for the Phumbor PHP library for Thumbor.

  • Friday, January 27, 2017
  • by r0bdiabl0
  • Repository
  • 3 Watchers
  • 6 Stars
  • 5,678 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 13 Forks
  • 1 Open issues
  • 3 Versions
  • 9 % Grown

The README.md

Phumbor for Laravel

This Laravel package adds support for the 99designs PHP interface to the globocom Thumbor thumbnail service., (*1)

It is compatible with Laravel 5+., (*2)

Requires PHP 7.1+., (*3)

Installation

Simply run this command in your project root:, (*4)

composer require r0bdiablo/laravel5-phumbor

or require the package in your composer.json file:, (*5)

"r0bdiabl0/laravel5-phumbor": "^1.0"

Run composer install to download the package and have the autoloader updated., (*6)

Once installed, register the service provider with your Laravel application. Update the providers section of config/app.php:, (*7)

'providers' = array(
    // existing providers
    R0bdiabl0\Laravel5Phumbor\Laravel5PhumborServiceProvider::class,
);

and register the facade in the aliases section:, (*8)

'aliases' => array(
    // existing aliases
    'Phumbor'   => R0bdiabl0\Laravel5Phumbor\Facades\Phumbor::class,
);

Now, publish the package's config file:, (*9)

php artisan vendor:publish

which will publish the default configuration file to config/laravel5-phumbor.php., (*10)

You should modify this file to reflect your Thumbor installation's URL and secret key., (*11)

Usage

The Phumbor facade exposes the API from the 99designs PHP interface., (*12)

For example:, (*13)

Phumbor::url('http://images.example.com/llamas.jpg')
    ->fitIn(640, 480)
    ->addFilter('fill', 'green');

License

Licensed under the MIT license. See https://github.com/r0bdiabl0/laravel5-phumbor/blob/master/LICENSE, (*14)

The Versions

27/01 2017

dev-master

9999999-dev https://github.com/r0bdiablo/laravel5-phumbor

Laravel 5 package adding support for the Phumbor PHP library for Thumbor.

  Sources   Download

MIT

The Requires

 

by Robert Pettique

laravel thumbor phumbor

14/08 2015

dev-laravel5

dev-laravel5 https://github.com/ceejayoz/laravel-phumbor

Laravel package adding support for the Phumbor PHP library for Thumbor.

  Sources   Download

MIT

The Requires

 

by Chris Sternal-Johnson

laravel thumbor phumbor

21/09 2013

0.1.0

0.1.0.0 https://github.com/ceejayoz/laravel-phumbor

Laravel package adding support for the Phumbor PHP library for Thumbor.

  Sources   Download

MIT

The Requires

 

by Chris Sternal-Johnson

laravel thumbor phumbor