vad-naitik/php-image-helper

PHP Class to Image Crop or Resize and Display.

Fund package maintenance!
Github
Paypal

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/vad-naitik/php-image-helper

1.0.1 2024-05-15 10:16 UTC

This package is auto-updated.

Last update: 2025-12-04 14:39:07 UTC


README

PHP library to resize, scale and crop images.

Setup

If using Composer, in your composer.json file add:

{
    "require": {
        "vad-naitik/PHP-Image-Helper": "1.0.*"
    }
}

Otherwise:

include '/path/to/ImageHelper.php';

Because this class uses namespacing, when instantiating the object, you need to either use the fully qualified namespace:

$image = new \VadNaitik\ImageHelper();

Or alias it:

use \VadNaitik\ImageHelper;

$image = new ImageHelper();

Note: This library uses GD class which do not support resizing animated gif files