Symfony2 Bundle to integrate the CKEditor plugin Upload Image
UploadImage v4.5.6
// composer.json
{
"require": {
// ...
"stinger/ckeditor-uploadimage-bundle": "~4.5.6"
}
}
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Stinger\CKEditorUploadImageBundle\StingerCKEditorUploadImageBundle(),
// ...
);
}
$ php composer.phar update stinger/ckeditor-uploadimage-bundle
Given your server's public directory is named "web", install the public vendor resources
$ php app/console assets:install web
Optionally, use the --symlink attribute to create links rather than copies of the resources
$ php app/console assets:install --symlink web
trsteel_ckeditor:
external_plugins:
uploadimage:
path: 'bundles/stingerckeditoruploadimage'
Refer to the source code of the included files for license information