league/glide
On-demand image manipulation server for PHP. Resize, crop, and apply effects via a simple HTTP API. Automatically caches transformed images with far-future headers, supports GD/Imagick/libvips, Flysystem storage, multiple response types, and signed URLs for security.
Dynamic Image Processing for Media-Heavy Products:
Cost Optimization vs. Cloud Services:
Performance & Caching:
Security & URL Signing:
Framework-Agnostic Flexibility:
Roadmap Priorities:
"Glide lets us own our image processing—like running our own ‘Imgix’—without cloud costs. For example:
"Glide is a drop-in HTTP API for image manipulation, similar to Imgix but self-hosted. Key perks:
?w=300&h=300&fit=crop).$server = League\Glide\ServerFactory::create([
'source' => 'storage/uploads',
'cache' => 'storage/glide-cache',
]);
$server->outputImage($_GET); // Handles URL params automatically.
Tradeoff: Requires storage for cached images (~2x original size)."
"Glide lets us dynamically adjust images without manual edits. For example:
?fit=crop.?filt=sepia) or blur (?blur=5) for visual consistency.?w=800 for desktop).
No more ‘image-1.jpg’, ‘image-2.jpg’—just one URL with params!"How can I help you explore Laravel packages today?