bnbc / kcfinder-bundle
Provides a KCFinder integration for CKEditor for your Symfony Project.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.2
- symfony/dependency-injection: 4.*
- symfony/framework-bundle: 4.*
Requires (Dev)
- symfony/twig-bundle: 4.*
- symfony/yaml: 4.*
Suggests
- symfony/twig-bundle: Allows to use Twig templates
This package is not auto-updated.
Last update: 2025-03-26 17:40:58 UTC
README
The bundle provides a KCFinder for CKEditor integration for your Symfony Project
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:
// composer.json "sunhater/kcfinder": "dev-master"
Require the bundle in your composer.json file:
$ composer require bnbc/kcfinder-bundle --no-update
Register the bundle:
// app/AppKernel.php public function registerBundles() { return array( new Bnbc\KCFinderBundle\BnbcKCFinderBundle(), // ... ); }
Install the bundle:
$ composer update bnbc/kcfinder-bundle
Add routing:
// app/config/routing.yml
kcfinder:
resource: "@BnbcKCFinderBundle/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.
bnbc_kc_finder: base_path : "%kernel.root_dir%/../vendor/sunhater/kcfinder" config: disabled : false uploadURL: "/uploads/" uploadDir: "%kernel.root_dir%/../web/uploads/"
License
The Bnbc 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.