Easily manipulate images in PHP with spatie/image

Great new package by the folks at Spatie to working with images in PHP, powered by Glide. Glide itself is great, but uses an URL based approach (which has its benefits); yet in most cases I find myself using a code based approach. This is where spatie/image comes into play:

spatie/image wraps up Glide so all its methods can be used using PHP code.

Like so:

Image::load('new-york.jpg')
    ->sepia()
    ->blur(50)
    ->save();

Easy peasy 🙂

spatie/image
spatie/image Documentation →
spatie/image introductory post →

Elsewhere , ,

Leave a Reply

Your email address will not be published. Required fields are marked *