h4cc/wkhtmltoimage-i386
Static i386 binaries of wkhtmltoimage from the wkhtmltopdf project, installable via Composer. Creates the binary in vendor/h4cc/wkhtmltoimage-i386/bin and symlinks it into vendor/bin for easy command-line use.
Architecture fit
vendor/h4cc/wkhtmltoimage-i386/bin/wkhtmltoimage-i386 with a vendor/bin symlink.knplabs/knp-snappy or barryvdh/laravel-snappy shelling out via Symfony Process). The package is a leaf node in the deployment layer, not the application layer.Integration feasibility
base_path('vendor/bin/wkhtmltoimage-i386')). No framework integration is provided, and none is needed.Technical risk
Key questions
Stack fit
laravel-snappy + this binary, but only as a stopgap.Migration path
spatie/browsershot (headless Chromium) behind a queue job, or a wkhtmltopdf 0.12.6 amd64 static build if Chromium's footprint is prohibitive.h4cc/wkhtmltoimage-amd64: do not migrate sideways to i386. Introduce an internal HtmlToImageRenderer interface with a Snappy/Wkhtml adapter and a Browsershot adapter, then move call sites one at a time.Compatibility
"0.12.4") with composer.lock committed; no caret ranges on a dormant binary.Sequencing
Maintenance
Support
Scaling
--width/--height, and enforce a hard timeout (Symfony Process setTimeout plus SIGKILL fallback for zombie children).Failure modes
exec format error, missing libfontconfig.so.1 (i386), segfault on large DOM.Ramp-up
Recommendation: do not adopt for new work. If wkhtmltoimage is mandated, use the amd64 0.12.6 static build; otherwise migrate to a headless-Chromium renderer behind an internal interface.
How can I help you explore Laravel packages today?