PHP Proteus Image Library
, (*1)
What it is
A set of classes that can be used to manipulate images and cache the results. I tried to keep it pretty simple, so it only
handles operations that I've found to be the most useful. Several image manipulation functions were omitted b/c they seem
to be handled well with css., (*2)
I've got another repo that acts as a CDN, using these classes within a slim framework deployment. https://github.com/wjbrown/php-proteus-slim, (*3)
What it does
Here's a short list of things it can do:
- resize
- - force
- - fit
- - adaptive (if imagick)
- - crop
- crop
- sharpen (I've found sharpen necessary after reducing the size of jpegs), (*4)
Using this library
Simply clone using one of the following methods:, (*5)
SSH, (*6)
git clone git@github.com:wjbrown/php-proteus.git YourProjectName
HTTPS, (*7)
git clone https://github.com/wjbrown/php-proteus.git YourProjectName
Then edit the composer.json file to set your own project meta information and define your dependencies as normal. A simple
demo exists for reference., (*8)