README
The bundle provides a KCFinder for CKEditor integration for your Symfony Project, (*1)
Documentation
Installation
This package require [kcfinder] but the composer can't load it if it's on require so add it manualy to you composer.json file:, (*2)
``` php
// composer.json
"sunhater/kcfinder": "dev-master", (*3)
Require the bundle in your composer.json file:
$ composer require ikadoc/kcfinder-bundle --no-update, (*4)
Register the bundle:
``` php
// app/AppKernel.php
public function registerBundles()
{
return array(
new Ikadoc\KCFinderBundle\IkadocKCFinderBundle(),
// ...
);
}
Install the bundle:, (*5)
$ composer update ikadoc/kcfinder-bundle
Add routing:, (*6)
// app/config/routing.yml
kcfinder:
resource: "@IkadocKCFinderBundle/Resources/config/routing.yml"
prefix: /admin
Configuration
The bundle allow to change base_path to kcfinder folder and you can define as many configs you want. The list of all config options are available
here., (*7)
yaml
ikadoc_kc_finder:
base_path : "%kernel.root_dir%/../vendor/sunhater/kcfinder"
config:
disabled : false
uploadURL: "/uploads/"
uploadDir: "%kernel.root_dir%/../web/uploads/"
, (*8)
License
The Ikadoc KCFinder Bundle is under the MIT license. For the full copyright and license information, please read the
LICENSE file that was distributed with this source code., (*9)