LaravelPackages.net
Acme Inc.
Toggle sidebar
brokenice/laravel-phumbor

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

8
0
About brokenice/laravel-phumbor

brokenice/laravel-phumbor is a Laravel package for laravel package adding support for the phumbor php library for thumbor.. It currently has 0 GitHub stars and 8 downloads on Packagist. Install it with composer require brokenice/laravel-phumbor. Discover more Laravel packages by brokenice or browse all Laravel packages to compare alternatives.

Last updated

Phumbor for Laravel >= 5.* or

This Laravel package adds support for the 99designs PHP interface to the globocom Thumbor thumbnail service.

Installation

Simply require the package in your composer.json file:

composer require brokenice/laravel-phumbor

Now, publish the package's config file:

php artisan vendor:publish --tag=phumbor

which will publish the default configuration file to app/config/phumbor.php.

You should modify this file to reflect your Thumbor installation's URL and secret key.

Usage

The Phumbor facade exposes the API from the 99designs PHP interface.

For example:

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

License

Licensed under the MIT license. See https://github.com/lucabecchetti/laravel-phumbor/blob/master/LICENSE

Star History Chart