Download the PHP package numkms/yii2-images without Composer
On this page you can find all versions of the php package numkms/yii2-images. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download numkms/yii2-images
More information about numkms/yii2-images
Files in numkms/yii2-images
Download numkms/yii2-images
More information about numkms/yii2-images
Files in numkms/yii2-images
Vendor numkms
Package yii2-images
Short Description yii2 images module for storing images
License BSD-3-Clause
Package yii2-images
Short Description yii2 images module for storing images
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package yii2-images
yii2-images
Yii2-images is yii2 module that allows to attach images to any of your models, next you can get images in any sizes, also you can set main image of images set.
Since 2.0 you can upload your files simply with use files attributes;
Module supports Imagick and GD libraries, you can set up it in module settings.
Usage instance:
Details
-
Get images
-
Remove image/images
-
Set main image
-
Get image sizes
- Get original image
Installation
- Add Yii2-images to the require section of your composer.json file:
{ "require": { "numkms/yii2-images": "dev-master" } }
-
run
php composer.phar update
-
run migrate
php yii migrate/up --migrationPath=@vendor/numkms/yii2-images/migrations
-
setup module
- attach behaviour to your model (be sure that your model has "id" property)
Thats all!
All versions of yii2-images with dependencies
PHP Build Version
Package Version
The package numkms/yii2-images contains the following files
Loading the files please wait ....