sitedevel / edikeditor
edikeditor plugin for CakePHP
Requires
- php: >=5.5
- cakephp/cakephp: 3.0.x-dev
- components/jquery: >=1.1.0
Requires (Dev)
This package is auto-updated.
Last update: 2018-01-17 09:24:18 UTC
README
This bundle helps you to edit site's images using own image editor.
Description
Advanced Image Editor Plugin for CakePHP3 - Edik is plugin which allows to edit site's images using extended and features reach image editor. There are tools and filters in Edik editor to make site's images more expressive.
Tools:
- Flip Horizontal
- Flip Vertical
- Greyscale
- Invert
- Rotate Counter-clockwise
- Rotate Clockwise
Filters:
- Brightness
- Contrast
- Saturation
- Vibrance
- Exposure
- Hue
- Sepia
- Noise
- Clip
Installation
Download EdikEditorBundle and its dependencies to the vendor directory.
Composer
Add link to bundle into your composer.json
and run $ php composer.phar update
:
{
"require" : {
"sitedevel/edikeditor": "dev-master"
},
}
Composer will install bundle to vendor/sitedelev/edikeditor
directory.
Install without composer
Download zip file of EdikEditor plugin. Unzip it into vendor directory.
Configuration
Adding pluging to main bootstrap
// app/config/bootstrap.php
Plugin::load('EdikEditor', ['routes' => true, 'bootstrap' => true]);
Adding pluging to autoloading
Additionally you will need to tell Composer to refresh its autoloading cache:
$ php composer.phar dumpautoload
Add script of editing images to your page:
echo $this->Html->script('/EdikEditor/js/main');
Set up saving images folders
Open bootstrap.php for setting folder where you will be save images and can they be overwrite if there is same image exist in this folder.
Test page
There is test page with image. Go to http://yoursite/edik_editor/EdikEditor/.
Frequently Asked Questions
Why do I need Edik editor at my site?
Site without images is boring place. Edik plugin gives you ability to edit images of your site directly from back-end without any additional software. There are tools and filters in Edik editor to make your images more expressive. You have only to try it.
License
http://www.gnu.org/licenses/gpl-2.0.html