Skip to content

Releases: sergey0002/iar

Main

05 Mar 11:00

Choose a tag to compare

iar (Image Auto Resizer) is a portable PHP engine designed for one thing: making image processing as easy as possible. It doesn't require complex server adjustments, external binaries like optipng, or global system dependencies. If you have PHP and GD, you are ready to go.

⭐️ Key Highlights:

Truly Portable: Works anywhere with PHP 8.1+ and GD. No imagemagick or CLI utilities required.
Smart by Design: Automatically detects browser support and serves WebP or AVIF without changing your original URLs.
Set & Forget: Simple installation via Composer inside the project folder. All logic is controlled by a single

config.php
.
Flexible URL API: Resize, crop with focus points (gravity), or use unique edge-cropping (

ct
, cb...) to trim watermarks or headers on the fly.
Native Optimization: Includes smart indexed PNG mode (saves 30-70% on small assets), progressive JPEG, and WebP metadata stripping — all using native PHP functions.
Production Ready: Includes transparent caching with optional static redirects, daily logging, and hardened security (Path Traversal & DoS protection).