contao/imagine-svg
Imagine-compatible SVG image library for PHP/Contao. Open, crop, resize, and apply common effects (gamma, grayscale, blur, etc.) to SVGs and save results. Includes SVG-aware sizing via SvgBox for absolute, aspect-ratio, or undefined dimensions.
<title>, <desc>) persists during transformations.<script> tags) via server-side filtering.width="abc").svg.js or D3.js).For Executives: "This update makes the package production-ready for high-stakes SVG workflows. For example, if we’re building a platform where users upload custom icons (e.g., for branding), this ensures we never crash on malformed files—saving support costs and improving uptime. It’s a drop-in fix for Laravel, so no new dependencies or risk."
For Engineering: *"Key improvements in 1.0.4:
<svg xmlns="http://www.w3.org/2000/svg">), critical for enterprise apps.width="invalid") now log warnings instead of breaking pipelines—ideal for batch processing.
Tradeoffs: Still server-side only; pair with frontend libs like rough.js for interactive SVGs. Perfect for sanitizing uploads or generating thumbnails from untrusted sources."*How can I help you explore Laravel packages today?