PHPackages                             ebarrosjr/ckeditor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ebarrosjr/ckeditor

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

ebarrosjr/ckeditor
==================

CkEditor plugin for CakePHP 3.x with version selection

v1.2.0(6y ago)1153MITPHPPHP &gt;=5.5.9

Since Nov 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ebarrosjr/CKEditor)[ Packagist](https://packagist.org/packages/ebarrosjr/ckeditor)[ RSS](/packages/ebarrosjr-ckeditor/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

CKEditor plugin for CakePHP 3.x with version select
===================================================

[](#ckeditor-plugin-for-cakephp-3x-with-version-select)

Installation
------------

[](#installation)

You can install this plugin into your CakePHP application using [composer](http://getcomposer.org). This is a personal version of:  with the possibility of choose the version and distribution.

The recommended way to install composer packages is:

```
composer require ebarrosjr/ckeditor

```

Then in config/bootstrap.php add:

```
Plugin::load('CkEditor');
```

In either src/Controller/AppController.php, or any controller where you want to use CKEditor, add:

```
public $helpers = ['CkEditor.Ck' => [
	'distribution' => 'full', // Default Option :: Others options => 'basic', 'standard'
	'version' => '4.11.4', //Default option, others via CDN page
	'script' => null // You can now point to a custom ckeditor JS file
]];
```

Finally, in your template file, simply add this to call CKEditor:

```
echo $this->Ck->input('field_name');
```

This is the equilivant of using

```
echo $this->Form->input('field_name');
```

Except that CKEditor will be loaded instead of a text area!

Advanced Options
----------------

[](#advanced-options)

You can make adjustments to CKEditor and the form input as needed. There is full flexibility in this regard.

The full explaination is as follows:

```
echo $this->Form->input($input, $options, $ckEditorOptions, $ckEditorUrl);
```

```
@param string $input
```

The name of the field, can be field\_name or model.field\_name

```
@param array $options
```

Options include $options\['label'\] for a custom label and any other custom Form Helper options

```
@param array $ckEditorOptions
```

This will pass any options from [http://docs.ckeditor.com/#!/guide/dev\_configuration](http://docs.ckeditor.com/#!/guide/dev_configuration) to CKEditor

```
@param string $ckEditorUrl
```

This gives an option to overwrite the CKEditor URL. You can use a local URL then if required.

Examples
--------

[](#examples)

Use an associated field name

```
echo $this->Ck->input('category.description');
```

Generate a custom label

```
echo $this->Ck->input('field_name', ['label' => 'A unique label']);
```

Add options to CKEditor from [http://docs.ckeditor.com/#!/guide/dev\_configuration](http://docs.ckeditor.com/#!/guide/dev_configuration)

```
echo $this->Ck->input('field_name', [], ['fullPage' => true, 'allowedContent' => 'true']);
```

Load a local version of CKEditor, or a different version

```
echo $this->Ck->input('field_name', [], [], '/js/ckeditor.js');
```

Example showing all the options together

```
echo $this->Ck->input('field_name', ['label' => 'A unique label'], ['fullPage' => true, 'allowedContent' => 'true'], '/js/ckeditor.js');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~106 days

Total

4

Last Release

2421d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/433eebe3d9af87b3a2537ceba3dae81b6f325619ea405bb7552873748764ba12?d=identicon)[ebarrosjr](/maintainers/ebarrosjr)

---

Top Contributors

[![ebarrosjr](https://avatars.githubusercontent.com/u/8482546?v=4)](https://github.com/ebarrosjr "ebarrosjr (6 commits)")

---

Tags

cakephpckeditorphpplugin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ebarrosjr-ckeditor/health.svg)

```
[![Health](https://phpackages.com/badges/ebarrosjr-ckeditor/health.svg)](https://phpackages.com/packages/ebarrosjr-ckeditor)
```

###  Alternatives

[markstory/asset_compress

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

3761.0M11](/packages/markstory-asset-compress)[cakedc/cakephp-phpstan

CakePHP plugin extension for PHPStan.

40676.6k31](/packages/cakedc-cakephp-phpstan)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

2988.9k3](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-geo

A CakePHP plugin around geocoding tools and helpers.

51174.9k4](/packages/dereuromark-cakephp-geo)[cakedc/enum

Enumeration list Plugin for CakePHP 5

30222.5k2](/packages/cakedc-enum)[josegonzalez/cakephp-environments

CakePHP plugin to handle environments-level configuration

4785.9k](/packages/josegonzalez-cakephp-environments)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
