znframework / package-image
ZN Framework Image Package
8.22.0
2025-03-05 15:22 UTC
Requires
- php: >=7.0.0
- znframework/package-helpers: >=6.0
- znframework/package-zerocore: >=6.0
README
ZN Framework Image Package
Follow the steps below for installation and use.
Installation
You only need to run the following code for the installation.
composer require znframework/package-image
Documentation
Click for documentation of your library.
Example Usage
Basic level usage is shown below.
<?php require 'vendor/autoload.php';
ZN\ZN::run();
$thumbPath = Thumb::path('images/wallpaper.jpg')
->quality(80)
->crop(100, 200)
->resize(300, 200)
->create();
echo Html::image($thumbPath);