Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Imagify Php Laravel Package

wp-media/imagify-php

Official PHP client for the Imagify API. Optimize images outside WordPress by compressing, resizing, and converting them to WebP through Imagify's service. Install via Composer and add image optimization to any PHP application.

Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy on media processing. The package is a thin HTTP client for Imagify's SaaS image-optimization API (compress, resize, convert on upload). Its existence confirms the service is a viable buy; it does not confirm the client library is a viable dependency. Treat those as two separate decisions.
  • Roadmap: media pipeline investment. Informs whether "automatic image optimization on upload" ships as a Q-near-term feature (low effort: one service class + queue job) or as a platform investment (multi-format, on-the-fly transforms, CDN integration).
  • Performance/Core Web Vitals prioritization. Image payload is typically the largest LCP contributor. A vendor-backed optimization path is a cheap lever for measurable Core Web Vitals and bandwidth-storage savings, and gives you a cost-per-image number to model against traffic growth.
  • Vendor selection and lock-in analysis. Comparing Imagify against Cloudinary, imgix, or self-hosted ImageMagick/libvips: the client library is deliberately thin, which means switching vendors is a service-layer swap — if you keep your own abstraction. That exit cost is a decision input.
  • Use-case fit: user avatars, marketplace/UGC uploads, product catalogs, CMS media libraries — anywhere originals are user-supplied, unbounded in size, and served at multiple breakpoints.
  • Dependency risk register. A 2017 last release, 12 stars, and unknown repository provenance is itself a portfolio risk item requiring a documented accept/mitigate/reject decision.
  • Not supported: pricing negotiation, SLA commitments, or roadmap of the vendor (Imagify/WP Media) — this library is a client only and carries no commercial terms.

When to Consider This Package

Consider it only in narrow, legacy circumstances:

  • You have already committed to Imagify as the vendor and want a reference for the API's request/response contract (endpoints, auth, payload shape) before writing your own client.
  • You are on a legacy PHP stack (PHP 5.x/7.0-era) with a Guzzle version that matches its constraints, and rewriting is out of scope.
  • You want a throwaway spike to validate the vendor's output quality and cost model before committing engineering time.

Look elsewhere — or plan to replace it — when:

  • You are on modern Laravel/PHP 8.2+. Laravel's Http facade, retries, and queued jobs cover this in roughly a day of work; pulling in an unmaintained Guzzle wrapper adds version-conflict and autoload risk for near-zero savings.
  • You need typed DTOs, PSR-18/PSR-17 compliance, structured exceptions, or observability hooks — none of which a 2017 client provides.
  • You need active security patching or vendor support. No releases since September 2017 means no dependency updates, no CVEs triaged, no compatibility guarantees.
  • You need WebP/AVIF, responsive srcset generation, or on-the-fly transforms — confirm current API capability directly rather than inferring it from a 2017 client surface.
  • Supply-chain policy applies. "Repository: unknown" with 12 stars is a provenance red flag; do not add it to composer.json from Packagist without reading the source and pinning a commit.

How to Pitch It (Stakeholders)

For executives (one paragraph): Image weight is one of the cheapest performance and infrastructure levers we have, and the market answer is to buy it rather than build it. This package is a free, publicly available client for one such vendor — but it was last updated in 2017, has a negligible user base, and has no identifiable maintainer. The recommendation is therefore not "adopt this library." The recommendation is: treat image optimization as a vendor decision with a per-image cost we can model against traffic, and implement the integration as a small first-party service behind an interface so we can change vendors without rework. We estimate the integration itself at roughly one engineering day plus a queue job; the recurring cost is the vendor subscription, and the return is lower bandwidth and storage spend plus better page-load metrics on image-heavy surfaces.

For engineering (one paragraph): This is a mid-2010s Guzzle wrapper over Imagify's REST API — no releases since 2017, 12 stars, unverifiable repo provenance, and no PSR-18/PSR-17 or typed-DTO support. Do not take it as a runtime dependency. Use it as documentation: read the source to extract the endpoint contract, auth scheme, and error codes, then implement a ImageOptimizer interface with an ImagifyAdapter using Laravel's HTTP client, queued dispatch, exponential backoff, and idempotency keys. That removes the version-conflict, CVE, and abandonment risk while preserving the buy decision. If we ever need the original for compatibility testing, vendor a pinned copy with a license/provenance review rather than a Composer constraint.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
unabomber/timezone
delatbabel/contacts
astritzeqiri/g-recaptcha
kevinongko/laravel-genode
developeruz/laravel-analytics
robbiep/afterthedeadline
frankkessler/incontact-laravel-oauth2-rest
jlxh/laravel-userlog
davidmgilo/timetables
qylinfly/role-permission
reflect-digital/conduit
takashato/laravel-vietqr
aitor24/laralang
kraenzle-ritter/entity-relations
dindigital/din-image
pomirleanu/image-colors
sawmainek/laravel-api-generator
delatbabel/jsonresponses
mouhamedfd/permissions-generator
eduplus/qr