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/imagewraps up Glide so all its methods can be used using PHP code.
Image::load('new-york.jpg') ->sepia() ->blur(50) ->save();
Easy peasy 🙂
spatie/image Documentation →
spatie/image introductory post →