PHPackages                             jakabj16/quill - 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. jakabj16/quill

ActiveYii2-extension

jakabj16/quill
==============

Quill editor implementation for Yii 2.

2.4.0(6y ago)02Apache-2.0PHPPHP &gt;=7.0

Since Dec 18Pushed 4y agoCompare

[ Source](https://github.com/jakabj16/yii2-quill)[ Packagist](https://packagist.org/packages/jakabj16/quill)[ RSS](/packages/jakabj16-quill/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (14)Used By (0)

yii2-quill
==========

[](#yii2-quill)

[![Latest Stable Version](https://camo.githubusercontent.com/03652b68f6f79119ffe1ea63772ad62395d2ce08da9c15f0c1a9849b71d2a2fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62697a6c65792f7175696c6c2e737667)](https://camo.githubusercontent.com/03652b68f6f79119ffe1ea63772ad62395d2ce08da9c15f0c1a9849b71d2a2fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62697a6c65792f7175696c6c2e737667)[![Total Downloads](https://camo.githubusercontent.com/892af899282e5a20c310453dc0f3ee801bc6e37c21cd9bd25e1c948b4da9aed0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62697a6c65792f7175696c6c2e737667)](https://packagist.org/packages/bizley/quill)[![License](https://camo.githubusercontent.com/010800af2068f78625ea6cf9046d5cfc336f1cde14f40989c01e2318032f5de9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f62697a6c65792f7175696c6c2e737667)](https://camo.githubusercontent.com/010800af2068f78625ea6cf9046d5cfc336f1cde14f40989c01e2318032f5de9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f62697a6c65792f7175696c6c2e737667)

*Yii 2 implementation of Quill, modern WYSIWYG editor.*

Quill
-----

[](#quill)

You can find Quill at

- [Documentation](https://quilljs.com/docs/quickstart/)
- [Guides](https://quilljs.com/guides/why-quill/)
- [Playground](https://quilljs.com/playground/)
- [GitHub](https://github.com/quilljs/quill)

yii2-quill
----------

[](#yii2-quill-1)

### Installation

[](#installation)

Add the package to your `composer.json`:

```
{
    "require": {
        "bizley/quill": "^2.3"
    }
}

```

and run `composer update` or alternatively run `composer require bizley/quill:^2.3`

### Usage

[](#usage)

Use it as an active field extension

```

```

Or as a standalone widget

```

```

### Basic parameters

[](#basic-parameters)

- **theme** *string* default `'snow'`
    `'snow'` (`Quill::THEME_SNOW`) for Quill's [snow theme](https://quilljs.com/docs/themes/#snow),
    `'bubble'` (`Quill::THEME_BUBBLE`) for Quill's [bubble theme](https://quilljs.com/docs/themes/#bubble),
    `false` or `null` to remove theme. See [Quill's documentation for themes](https://quilljs.com/docs/themes/).
- **toolbarOptions** *boolean|string|array* default `true`
    `true` for theme's default toolbar,
    `'FULL'` (`Quill::TOOLBAR_FULL`) for full Quill's toolbar,
    `'BASIC'` (`Quill::TOOLBAR_BASIC`) for few basic toolbar options,
    *array* for toolbar configuration (see below).

### Toolbar

[](#toolbar)

Quill's toolbar from version 1.0 can be easily configured with custom set of buttons.
See [Toolbar module](https://quilljs.com/docs/modules/toolbar/) documentation for details.

You can pass PHP array to `'toolbarOptions'` parameter to configure this module (it will be JSON-encoded).

For example, to get:

```
new Quill('#editor', {
    modules: {
        toolbar: [['bold', 'italic', 'underline'], [{'color': []}]]
    }
});
```

add the following code in widget configuration:

```
[
    'toolbarOptions' => [['bold', 'italic', 'underline'], [['color' => []]]],
],
```

Additional information
----------------------

[](#additional-information)

### Container and form's input

[](#container-and-forms-input)

Quill editor is rendered in `div` container (this can be changed by setting `'tag'` parameter) and edited content is copied to hidden input field so it can be used in forms.

### Editor box's height

[](#editor-boxs-height)

Default editor height is *150px* (this can be changed by setting `'options'` parameter) and its box extends as new text lines are added.

### Quill source

[](#quill-source)

Quill's JS code is provided by CDN. You can change the Quill's version set with the current yii2-quill's release by changing `'quillVersion'` parameter but some options may not work correctly in this case.

### Additional JavaScript code

[](#additional-javascript-code)

You can use parameter `'js'` to append additional JS code.
For example, to disable user input Quill's API provides this JS:

```
quill.enable(false);
```

To get the same through widget's configuration add the following code:

```
[
    'js' => '{quill}.enable(false);',
],
```

`{quill}` placeholder will be automatically replaced with the editor's object variable name.
For more details about Quill's API visit

### Formula module

[](#formula-module)

Quill can render math formulas using the [KaTeX](https://khan.github.io/KaTeX/) library.
To add this option configure widget with [Formula module](https://quilljs.com/docs/modules/formula/):

```
[
    'modules' => [
        'formula' => true, // Include formula module
    ],
    'toolbarOptions' => [['formula']], // Include button in toolbar
]
```

You can change the version of KaTeX by setting the `'katexVersion'` parameter.

### Syntax Highlighter module

[](#syntax-highlighter-module)

Quill can automatically detect and apply syntax highlighting using the [highlight.js](https://highlightjs.org/) library. To add this option configure widget with [Syntax Highlighter module](https://quilljs.com/docs/modules/syntax/):

```
[
    'modules' => [
        'syntax' => true, // Include syntax module
    ],
    'toolbarOptions' => [['code-block']] // Include button in toolbar
]
```

You can change the version of highlight.js by setting the `'highlightVersion'` parameter.
You can change the default highlight.js stylesheet by setting the `'highlightStyle'` parameter. See [the list of possible styles](https://github.com/isagalaev/highlight.js/tree/master/src/styles) (all files ending with `.min.css`).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~109 days

Recently: every ~224 days

Total

13

Last Release

2484d ago

Major Versions

1.2.0.1 → 2.02016-10-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5a0be3688e666644f738b65e34336a4921e4f7ffd26cff74479eb85160e9c7b?d=identicon)[jakabj16](/maintainers/jakabj16)

---

Top Contributors

[![jakabj16](https://avatars.githubusercontent.com/u/361866?v=4)](https://github.com/jakabj16 "jakabj16 (5 commits)")

---

Tags

yii2widgeteditorwysiwygquill

### Embed Badge

![Health badge](/badges/jakabj16-quill/health.svg)

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

###  Alternatives

[bizley/quill

Quill editor implementation for Yii 2.

64133.3k5](/packages/bizley-quill)[bizley/contenttools

ContentTools editor implementation for Yii 2.

8016.7k](/packages/bizley-contenttools)[kartik-v/yii2-editors

Editor widgets Yii2 framework. Summernote WYSIWYG editor, Codemirror code editor and PlainText editor for Bootstrap 3.x, 4.x and 5.x.

23300.9k1](/packages/kartik-v-yii2-editors)[kdn/yii2-json-editor

JSON editor widget (josdejong/jsoneditor) for Yii 2.

22570.0k3](/packages/kdn-yii2-json-editor)[marqu3s/yii2-summernote

Yii2 Summernote widget. Super simple WYSIWYG editor on Bootstrap

1691.6k8](/packages/marqu3s-yii2-summernote)[voskobovich/yii2-tree-manager

Tree Manager using jquery.nestable plugin for Yii 2

2535.0k](/packages/voskobovich-yii2-tree-manager)

PHPackages © 2026

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