hillrange / ckeditor
CKEditor for Symfony 4.x
Installs: 2 830
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 3
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.1|^7.2
- symfony/asset: ^3.4|^4.0
- symfony/flex: ^1.0
- symfony/form: ^3.4|^4.0
- symfony/property-access: ^3.4|^4.0
- symfony/templating: ^3.4|^4.0
- symfony/twig-bridge: ^3.4|^4.0
- symfony/twig-bundle: ^3.4|^4.0
- symfony/validator: ^3.4|^4.0
- twig/extensions: ^1.5
- twig/twig: ^2.4
README
Provides a CKEditor integration for your Symfony4 Project.
Version
1.0.1
This bundle is NOT supported. Please use friendsofsymfony/ckeditor-bundle. See Migration to FOSCKEditorBundle
Installation
Applications that use Symfony Flex
Open a command console, enter your project directory and execute: A flex recipe for version 0.1.12 has been written and approved. The installer requires that PHP includes the PHP ZIP Library.
$ composer require hillrange/ckeditor
Applications that don't use Symfony Flex
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require hillrange/ckeditor ^1.0
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Download CKEditor
Once, you have registered the bundle, you need to install CKEditor:
$ php bin/console ckeditor:install
and then run
$ php bin/console asset:install
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/Bundles.php
file of your project:
<?php return [ //... // Hillrange\CKEditor\HillrangeCKEditorBundle::class => ['all' => true], ];
Features
Documentation for IvoryCKEditorBundle applies with the exception of installation. You can follow the Symfony Documentation for IvoryCKEditorBundle, with the exception that installation does not require the use of Docker. This package uses FLEX to install correctly.
Notes
####EasyAdmin Integration In the EasyAdmin cfg, you can write
- { property: 'content', type: 'Hillrange\CKEditor\Form\CKEditorType' }
instead of
- { property: 'content', type: 'ckeditor' }