yiisoft / Yii2 Imagine
Licence: bsd-3-clause
Yii 2 imagine extension
Stars: ✭ 271
Projects that are alternatives of or similar to Yii2 Imagine
Yii2 Swiftmailer
Yii 2 swiftmailer extension.
Stars: ✭ 109 (-59.78%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 App Advanced
Yii 2.0 Advanced Application Template
Stars: ✭ 1,569 (+478.97%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 App Basic
Yii 2.0 Basic Application Template
Stars: ✭ 548 (+102.21%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Bootstrap
Yii 2 Bootstrap 3 Extension
Stars: ✭ 177 (-34.69%)
Mutual labels: hacktoberfest, yii2, yii
Yii2
Yii 2: The Fast, Secure and Professional PHP Framework
Stars: ✭ 13,852 (+5011.44%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Openapi
REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
Stars: ✭ 99 (-63.47%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Elasticsearch
Yii 2 Elasticsearch extension
Stars: ✭ 401 (+47.97%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Docker
Official Docker images suitable for Yii 2.0
Stars: ✭ 286 (+5.54%)
Mutual labels: hacktoberfest, yii2, yii
Yii2 Bootstrap4
Yii 2 Bootstrap 4 Extension
Stars: ✭ 204 (-24.72%)
Mutual labels: hacktoberfest, yii2, yii
Imagine Extension for Yii 2
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.
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]);
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].