Assuming you're mostly familiar with the basics of composer, you'll only have to add the plugin to your required
section of composer.json
.
composer require burzum/cakephp-imagine-plugin:2.*
You need to init the git sub module of imagine:
git submodule update --init
If you're not using the submodule get it from https://github.com/avalanche123/Imagine
Assuming that you're not using composer by installing the plugin via git, you'll have to add the namespace of the plugin and the vendor lib manually to whatever autoloader you're using.
Load the plugin as any other plugin:
Plugin::load('Burzum/Imagine');
You need to configure a salt for Imagine security functions.
Configure::write('Imagine.salt', 'your-salt-string-here');
We do not use Security.salt on purpose because we do not want to use the same salt here for security reasons.