Download the PHP package esquire900/quill without Composer

On this page you can find all versions of the php package esquire900/quill. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package quill

yii2-quill

Latest Stable Version Total Downloads License

Yii 2 implementation of Quill, modern WYSIWYG editor. Cloned and improved from https://github.com/bizley/yii2-quill

Quill

You can find Quill at https://quilljs.com/

yii2-quill

Installation

Easiest way to install this extension is through the Composer.
Add in your composer.json:
"esquire900/quill": "^2.0"
or run console command:
php composer.phar require "esquire900/quill ^2.0"

If you want to install Quill beta version add:
"esquire900/quill": "^1.0"

Usage

Use it as an active field extension
<?= $form->field($model, $attribute)->widget(\esquire900\quill\Quill::className(), []) ?>

or as a standalone widget
<?= \esquire900\quill\Quill::widget(['name' => 'editor', 'value' => '']) ?>

Basic parameters

Toolbar

Quill's toolbar from version 1.0 can be easily configured with custom set of buttons.
See Toolbar module documentation for details.

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

For example, to get:

add the following code in widget configuration:

Toolbar configuration for previous yii2-quill version (^1.0 with Quill beta) is deprecated.

Additional information

Container and form's 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

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'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

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

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

{quill} placeholder will be automatically replaced with the editor's object variable name.
For more details about Quill's API visit https://quilljs.com/docs/api/

Formula module

Quill can render math formulas using the KaTeX library.
To add this option configure widget with Formula module:

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

Syntax Highlighter module

Quill can automatically detect and apply syntax highlighting using the highlight.js library. To add this option configure widget with Syntax Highlighter module:

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 (all files ending with .min.css).


All versions of quill with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version ^2.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package esquire900/quill contains the following files

Loading the files please wait ....