Download the PHP package kak/storage without Composer
On this page you can find all versions of the php package kak/storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package storage
Short Description file upload/resize/crop file move storage
License BSD-3-Clause
Homepage https://github.com/sanchezzzhak/yii2storage
Informations about the package storage
Storage and Upload file for Yii2
file upload/resize
Any contributions are welcome Preview
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file and run command composer update
Usage
PLS set config params Yii::$app->params
Example use controller this uploading
resize_image.options
- animate if true then save image gif animated else first moveclip
- quality 10 - 100
Save model then controller
Once the extension is installed, simply use it in your code by:
if arg name resize_type in GET only these types will be saved resize images
usage pjax
register assets the main layouts
pjax event add code
roadmap
2018:
Q1 add storage google cloud, change guzzle http
to yii2-http-client
, change aws-sdk-php
Q2 create new uploader widget + tests
All versions of storage with dependencies
aws/aws-sdk-php Version 3.*
yiisoft/yii2 Version *
yiisoft/yii2-jui Version *
yiisoft/yii2-imagine Version *
bower-asset/blueimp-file-upload Version 9.10.5
bower-asset/cropper Version 0.10.1