Download the PHP package caiquebispo/quill-editor without Composer

On this page you can find all versions of the php package caiquebispo/quill-editor. 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-editor

Livewire Quill Editor - Notes

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Fixes included:

Basic usage:

Quill Editor Livewire Component

Livewire component for rich text editing powered by Quill.js.
Supports editing with headings, bold, italic, lists, links, images, videos, alignment, colors, and more, fully integrated with Laravel and Livewire for seamless form and CMS workflows.

Core Features:

New Features (v1.2+):


Requirements

Installation

In your main layout file (for example, resources/views/layouts/app.blade.php), include:


Publishing assets and configuration

For publishing the configuration and assets, run the following commands:

This will create the config/quill.php file and copy the necessary assets to your public directory.

Configuration Options

The published configuration file (config/quill.php) includes the following options:


New Features Configuration

📊 Character Counter

Display a real-time character count with optional limit:

When the limit is exceeded, the counter turns red to alert the user.


💾 Auto-save (Draft)

Automatically save content to localStorage at regular intervals:

Programmatic Draft Control:


⛶ Full-screen Mode

Enable a full-screen button to expand the editor:


🖼️ Image Upload

Enable direct image uploads with Livewire file handling:

Requirements:

  1. Run php artisan storage:link to create the public storage symlink
  2. Ensure your storage disk is properly configured

How it works:

  1. Click the image button 🖼️ in the toolbar
  2. Select an image from your computer
  3. The image is uploaded via Livewire and inserted into the editor

📐 Image Resize

When Image Upload is enabled, images can be resized interactively:

How to use:

  1. Click on any image in the editor to select it
  2. Use the corner handles to drag and resize (maintains aspect ratio)
  3. Use the preset buttons (25%, 50%, 75%, 100%) for quick sizing
  4. Click outside the image to deselect

Complete Example (All Features)


Usage

Basic Usage

Create a Livewire component to use the Quill editor:

Advanced Usage

Dynamic Configuration

You can pass configuration options directly to the component:

Individual Configuration Parameters

You can also pass individual configuration parameters:

Mobile-Specific Configuration

The component supports mobile-specific configurations:

📁 app/Livewire/EditorComponent.php

resources/views/livewire/editor-component.blade.php

Loading Existing Content

To load existing content from your database:

Multiple Instances

You can now use multiple Quill editors on the same page:


Configuration

You can customize the editor by passing a configuration array to the component:

Available Configuration Options

Option Type Default Description
theme string 'snow' Quill theme ('snow' or 'bubble')
placeholder string 'Digite aqui...' Placeholder text
height string '200px' Editor height
readOnly boolean false Read-only mode
modules array [] Quill modules configuration
formats array [] Allowed formats

Component Methods

The Quill Editor component provides several useful methods:

Programmatic Control

Content Methods


Events

The component dispatches the following events:

quillUpdated

Fired when the editor content changes:


Advanced Usage

Custom Toolbar Configuration

Image Upload Integration


Troubleshooting

Common Issues

  1. Multiple instances not working: Ensure each instance has a unique ID
  2. Content not loading: Check that the content is properly passed to the :content attribute
  3. Styles not loading: Make sure @stack('styles') is in your layout's <head>
  4. Scripts not working: Ensure @stack('scripts') is before the closing </body> tag

Debug Mode

Enable debug mode to see console logs:


License

MIT © Caique Bispo


All versions of quill-editor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
livewire/livewire Version ^3.5.0|^4.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 caiquebispo/quill-editor contains the following files

Loading the files please wait ...