Package Data | |
---|---|
Maintainer Username: | matteoantoci |
Maintainer Contact: | matteo.antoci@gmail.com (Matteo Antoci) |
Package Create Date: | 2013-12-16 |
Package Last Update: | 2013-12-20 |
Home Page: | |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-22 03:12:24 |
Package Statistics | |
---|---|
Total Downloads: | 131 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This is the phpThumb library wrapped inside a Laravel 4 package.
Add this package to your composer.json
Add this service provider in /app/config/app.php
'Matteoantoci\Phpthumb\PhpthumbServiceProvider',
A new route will be created /phpthumb
Use the library as described here
Add this alias in /app/config/app.php to use phpThumb Helper in your templates.
'phpThumb' => 'Matteoantoci\Phpthumb\PhpthumbHelper'
The helper class consist on a single static function with this parameters:
get($img, $w = "", $h = "", $crop = true, $params = array())