diff --git a/Resources/doc/index.md b/Resources/doc/index.md index e9abc7b..f0e696d 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -42,6 +42,7 @@ class AppKernel extends Kernel // ... new Youwe\FileManagerBundle\YouweFileManagerBundle(), + new Ivory\CKEditorBundle\IvoryCKEditorBundle() ); // ... @@ -123,7 +124,7 @@ Set the route and the route parameters in the ckeditor config ```php // Example for Ivory CKEditor Bundle $form = $this->createFormBuilder() - ->add('content', 'ckeditor', array( + ->add('content', CKEditorType::class, array( 'config' => array( 'filebrowserImageBrowseUrl' => array( 'route' => 'youwe_file_manager_list', @@ -131,4 +132,4 @@ $form = $this->createFormBuilder() ), ), ))->getForm(); -``` \ No newline at end of file +``` diff --git a/composer.json b/composer.json index b24dba3..61cc582 100644 --- a/composer.json +++ b/composer.json @@ -14,12 +14,13 @@ } ], "require": { - "php": ">=5.3.2", + "php": ">=5.5.9", "symfony/framework-bundle": "^3.0", "symfony/finder": "^3.0", "symfony/filesystem": "^3.0", "friendsofsymfony/jsrouting-bundle": "@stable", - "symfony/assetic-bundle": "^2.8" + "symfony/assetic-bundle": "^2.8", + "egeloen/ckeditor-bundle": "^5.0", }, "suggest": { "liip/imagine-bundle": "Liip Imagine Bundle provides easy image manipulation support for Symfony2." @@ -33,4 +34,4 @@ "dev-master": "3.x-dev" } } -} \ No newline at end of file +}