Weave Code
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

Resmushit Laravel Package

golchha21/resmushit

View on GitHub
Deep Wiki
Context7
v1.3.4

This release improves the reliability of image optimization without changing how the package is used.

Fixed

  • Prevented fatal errors when the reSmush.it API is unreachable or returns invalid responses
  • Restored file size validation to reject oversized images before upload
  • Gracefully handle cURL, SSL, and JSON decoding failures

Improved

  • Image optimization now always returns a structured array instead of triggering runtime errors
  • Batch optimization (paths()) no longer fails entirely if a single file cannot be optimized
  • Internal request flow refactored to improve reliability and testability

Tests

  • Added unit test to validate file size rejection behavior
  • Strengthened coverage around error handling paths

Documentation

  • Updated README with explicit error handling and return value guarantees
  • Added a Troubleshoot guide for common environment-specific issues

Backward Compatibility

This release does not change the public API. Existing usage of path(), paths(), and the Optimize facade continues to work as before.

In failure scenarios, structured error arrays are returned instead of fatal errors, allowing applications to handle issues gracefully.

v1.3.3

This release improves reliability and stability when interacting with the reSmush.it API, without changing how the package is used.

Fixed

  • Prevented fatal errors when the reSmush.it API is unreachable or returns invalid responses
  • Gracefully handle cURL and JSON decoding failures

Improved

  • Image optimization now always returns a structured array instead of triggering runtime errors
  • Batch optimization (paths()) no longer fails entirely if a single file cannot be optimized
  • Internal HTTP call refactored to improve testability and reliability

Documentation

  • Updated README with explicit error handling guidance
  • Clarified return value guarantees for both single and batch optimization

Backward Compatibility

This release does not change the public API. Existing usage of path(), paths(), and the Optimize facade continues to work as before.

In failure scenarios, structured error arrays are returned instead of fatal errors, allowing applications to handle issues gracefully.

v1.3.2
v1.3.1
v1.3.0
v1.2.9
v1.2.8
v1.2.7
v1.2.6
  • Version bump
  • Updated Readme.md & Changelog.md
v1.2.5
v1.2.3
v1.2.2
v1.2.1
v1.2.0

Moved & renamed the service provider. Now Support Facades. Updated the Composer, Changelog & Readme. Lastly, version bump.

v1.1.0

Added a feature to save the original picture and a version bump.

v1.0.4

Made the const Private & version bump

v1.0.3
v1.0.2
v1.0.1
v1.0.0
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.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle