rokka/client-bundle
Symfony bundle that integrates the Rokka image CDN service, providing service configuration, dependency injection, and helpers to generate and manage optimized image URLs and stacks in your Symfony applications.
imgproxy/Thumbor/Glide on your own infrastructure.srcset, art direction, and modern-format fallbacks without an engineering sprint on image pipelines — directly targeted at LCP/Core Web Vitals work.ImageUrlGenerator interface — adopt the vendor without letting its URL semantics leak into templates and models.rokka/client PHP SDK and hand-roll a service provider," which is a materially larger build commitment than the bundle's 8 stars and 0 dependents suggest.Consider it when:
Look elsewhere when:
Intervention/Image + a long-TTL CDN in front of static derivatives is cheaper and simpler.To executives: We can stop owning an image-processing pipeline. This integration routes image URLs to a managed service that resizes, crops, and converts formats at the edge, which is the single highest-leverage lever on page-load speed for image-heavy pages. Cost shifts from engineering headcount and storage growth to a metered vendor bill; the code footprint is one config file and one service call. The latest maintenance release (1.4.1) confirms it installs on current Symfony 7 and is tested on PHP 8.3, so it won't pin our framework upgrade. Caveat to state plainly: this is a Symfony-only wrapper around a niche vendor with negligible community adoption — it is a procurement decision as much as a technical one, and we should confirm pricing tiers and exit terms before committing.
To engineering: It's a DI-registered client for Rokka with config-driven credentials and stack selection — minimal magic, MIT-licensed, easy to read in an afternoon. 1.4.1 is a pure compatibility release: Symfony 7 installs are now allowed and CI runs PHP 8.3; no API changes, no migration work for us. Two honest caveats remain: it's Symfony, so a Laravel adoption means using rokka/client directly and writing the provider ourselves (this release does nothing for us there); and with 0 dependents and 8 stars we get no free bug-fixing — a compatibility patch every ~18 months is the realistic maintenance baseline. Mitigation: wrap it behind our own ImageUrlGenerator contract with 2–3 integration tests, keep raw URLs out of Blade/Twig, and treat the vendor as swappable. Recommend a time-boxed spike on one high-traffic template — if LCP and cost both improve, expand; if not, we've spent days, not a quarter.
How can I help you explore Laravel packages today?