library blitline
Blitline PHP for Laravel 4
peach-schnapps/blitline
Blitline PHP for Laravel 4
- Saturday, September 7, 2013
- by electblake
- Repository
- 1 Watchers
- 0 Stars
- 25 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Laravel Blitline
Blitline Provider for Lavel 4, (*1)
Installation, (*2)
- Register at
http://www.blitline.com/ and get your application id
composer require peach-schnapps/blitline dev-master
- Add
'PeachSchnapps\Blitline\BlitlineServiceProvider', // blitline under providers in app/config/app.php
- Publish package config to app/config/packages with
php artisan config:publish peach-schnapps/blitline
- Add your application id to
app/config/packages/peach-schnapps/blitline/config.php
Usage, (*3)
$Blit = new Blitline;
$src = 'http://p.twimg.com/Atb2B0MCAAADLk6.jpg';
$Blit->load($src);
$Blit->do_resize_to_fill(256, 256);
$Blit->do_sharpen();
$results = $Blit->process();
if ($results->success()) {
foreach($results->get_images() as $name => $url) {
echo "Processed: {$name} at {$url}\n";
}
} else {
print_r($results->get_errors());
}
More Usage Example & Documentation at https://github.com/minioak/blitline_php, (*4)
dev-master
9999999-dev
Blitline PHP for Laravel 4
Sources
Download
Apache-2.0
The Requires
by
electblake
laravel
s3
thumbnails
image processing
blitline