yii2-imagine

Yii 2 imagine extension

Github stars Tracking Chart

This extension adds most common image functions and also acts as a wrapper to Imagine
image manipulation library for Yii framework 2.0.

For license information check the LICENSE-file.

Latest Stable Version
Total Downloads
Build Status

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist yiisoft/yii2-imagine

or add

"yiisoft/yii2-imagine": "~2.2.0"

to the require section of your composer.json.

Basic Usage

This extension is a wrapper to the Imagine and also adds the most commonly used
image manipulation methods.

The following example shows how to use this extension:

use yii\imagine\Image;

// frame, rotate and save an image
Image::frame('path/to/image.jpg', 5, '666', 0)
    ->rotate(-8)
    ->save('path/to/destination/image.jpg', ['jpeg_quality' => 50]);

Main metrics

Overview
Name With Owneryiisoft/yii2-imagine
Primary LanguagePHP
Program languagePHP (Language Count: 2)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2014-01-01 19:03:46
Pushed At2023-09-29 16:09:49
Last Commit At2023-09-23 11:23:40
Release Count12
Last Release Name2.3.1 (Posted on 2022-09-04 13:06:41)
First Release Name2.0.0-beta (Posted on )
用户参与
Stargazers Count285
Watchers Count42
Fork Count92
Commits Count125
Has Issues Enabled
Issues Count51
Issue Open Count5
Pull Requests Count25
Pull Requests Open Count1
Pull Requests Close Count7
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private