2017 © Pedro Peláez
 

library image

Kohana image lib wrapper for yii 2

image

webvimark/image

Kohana image lib wrapper for yii 2

  • Wednesday, July 2, 2014
  • by webvimark
  • Repository
  • 2 Watchers
  • 3 Stars
  • 27,466 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Kohana Image for Yii 2

Image manipulations (resize, crop, watermark, etc), (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist webvimark/image "*"

or add, (*4)

"webvimark/image": "*"

to the require section of your composer.json file., (*5)

Configuration

In your config/web.php, (*6)

    'modules'=>[
        ...

        'migrations'=>[
            'class'=>'webvimark\modules\migrations\MigrationModule'
        ],

        ...
    ],

In you config/console.php, (*7)

    ...

    'controllerMap'=>[
        'migrate'=>[
            'class'=>'webvimark\modules\migrations\components\MigrateController',
        ],
    ],

    ...

Include your desired modules in config/console.php, (*8)

Usage

\webvimark\image\Image::factory($pathFromFile)->resize(500, 300)->save($pathToFile);

The Versions

02/07 2014

dev-master

9999999-dev

Kohana image lib wrapper for yii 2

  Sources   Download

02/07 2014

1.0.0

1.0.0.0

Kohana image lib wrapper for yii 2

  Sources   Download