Download the PHP package yii-starter-kit/yii2-glide without Composer
On this page you can find all versions of the php package yii-starter-kit/yii2-glide. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yii-starter-kit/yii2-glide
More information about yii-starter-kit/yii2-glide
Files in yii-starter-kit/yii2-glide
Package yii2-glide
Short Description Yii2 Glide Extension
License BSD-3-Clause
Informations about the package yii2-glide
Yii2 Glide
Yii2 Glide integration — forked and maintained by yii-starter-kit.
Glide is a wonderfully easy on-demand image manipulation library written in PHP.
Before you start read Glide documentation to understand what we are doing
Contributing
You can contribute anything you found useful in any convenient way. Any help appreciated.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json file.
Usage
Add glide configuration:
Then you can output modified image like so:
You can also use YiiStarterKit\glide\actions\GlideAction to output images:
In any controller add (SiteController for example):
Than use it:
/index.php?r=site/glide?path=new-upload.jpg&w=100&h=75
Example
Complex Glide integration example can be found here
Secure Urls
TBD
All versions of yii2-glide with dependencies
yiisoft/yii2 Version ^2.0.0
league/glide Version ^3.0
league/flysystem Version ^3.0
intervention/image Version ^3.0
league/uri Version ^7.0
symfony/http-foundation Version ^6.0|^7.0