yii2-imagine

Yii 2 imagine extension

Github星跟踪图

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]);

主要指标

概览
名称与所有者yiisoft/yii2-imagine
主编程语言PHP
编程语言PHP (语言数: 2)
平台
许可证BSD 3-Clause "New" or "Revised" License
所有者活动
创建于2014-01-01 19:03:46
推送于2023-09-29 16:09:49
最后一次提交2023-09-23 11:23:40
发布数12
最新版本名称2.3.1 (发布于 2022-09-04 13:06:41)
第一版名称2.0.0-beta (发布于 )
用户参与
星数285
关注者数42
派生数92
提交数125
已启用问题?
问题数51
打开的问题数5
拉请求数25
打开的拉请求数1
关闭的拉请求数7
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?