intervention/gif
Native PHP GIF encoder/decoder for GIF data streams with no image extensions required. Decode files or binary content, and build animated GIFs via a Builder. Includes optional GD-based Splitter to extract frames into GDImage objects. Supports PHP 8.3+.
Intervention GIF is a native PHP GIF encoder/decoder for reading and writing GIF data without requiring image-processing extensions. It’s designed as a core component of Intervention Image for animated GIF handling, but can also be used standalone in any PHP 8.3+ project.
Use it to decode GIFs from file paths or binary strings, or build new animated GIFs frame-by-frame with control over delays, offsets, and loop count. Only the optional Splitter (for extracting frames as GDImage) depends on the GD library.
How can I help you explore Laravel packages today?