Skip to content

Commit

Permalink
Merge pull request #9 from jorisros/3.0
Browse files Browse the repository at this point in the history
Update documentation for symfony 3
  • Loading branch information
jorisros authored Jun 2, 2017
2 parents dd7485e + 52b03be commit 2551076
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class AppKernel extends Kernel
// ...

new Youwe\FileManagerBundle\YouweFileManagerBundle(),
new Ivory\CKEditorBundle\IvoryCKEditorBundle()
);

// ...
Expand Down Expand Up @@ -123,12 +124,12 @@ 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',
'route_parameters' => array('popup'=>'1'),
),
),
))->getForm();
```
```
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -33,4 +34,4 @@
"dev-master": "3.x-dev"
}
}
}
}

0 comments on commit 2551076

Please sign in to comment.