Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 630 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 630 Bytes

PhpThumb for use with Symfony2

Setup

Add the following lines to your deps file:

[PhpThumb]
   git=http://github.com/tvogels/phpthumb.git
   target=phpthumb

And those to app/autoload.php:

$loader->registerPrefixes(array(
    ...
    'PhpThumb_'        => __DIR__.'/../vendor/phpthumb/lib',

Now run php bin/vendors update or php bin/vendors install.

Usage

$thumb = \PhpThumb_Factory::create(...);

Sources

  1. PHP Thumbnailer
  2. PHP Thumbnailer GitHub Repostory