stinger/ckeditor-image2-bundle

Symfony2 Bundle to integrate the CKEditor plugin Image2

Installs: 663

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Language:JavaScript

Type:symfony-bundle

4.5.1 2015-07-10 08:32 UTC

This package is auto-updated.

Last update: 2024-11-07 07:32:52 UTC


README

Symfony2 Bundle to integrate the CKEditor plugin Image2

Current Version

Image2 v4.5.1

Installation

Add bundle to your composer.json file

// composer.json

{
    "require": {
		// ...
        "stinger/ckeditor-image2-bundle": "~4.5.1"
    }
}

Add bundle to your application kernel

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Stinger\CKEditorImage2Bundle\StingerCKEditorImage2Bundle(),
        // ...
    );
}

Download the bundle using Composer

$ php composer.phar update stinger/ckeditor-image2-bundle

Install assets

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

Usage

trsteel_ckeditor:
    external_plugins:
      image2:
        path: 'bundles/stingerckeditorimage2'

Licenses

Refer to the source code of the included files for license information

References

  1. http://ckeditor.com/addon/image2
  2. http://symfony.com