Download the PHP package mileswu/filament-quill-editor without Composer

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

A Filament v5 compatible rich text editor field powered by Quill.js

Latest Version on Packagist Total Downloads

A Filament v5 form field that wraps Quill.js as a rich text editor, with image upload support built on Filament's own HasFileAttachments mechanism (the same one RichEditor uses).

It exists because rawilk/filament-quill still calls a Filament v3 method that was removed in v5 (issue), and because amidesfahani/filament-tinyeditor uses TinyMCE rather than Quill.

Images are uploaded and saved to permanent storage immediately (not deferred to form submission like Filament's RichEditor), so an uploaded-then-abandoned edit can leave an orphaned file. Cleaning those up is not implemented in this version.

Installation

You can install the package via composer:

Publish the compiled JS/CSS assets so Filament can serve them:

Usage

File attachments

fileAttachmentsDisk(), fileAttachmentsDirectory(), and fileAttachmentsVisibility() come from Filament's own Filament\Forms\Components\Concerns\HasFileAttachments trait — the same API RichEditor and TinyEditor use. All three accept a Closure for dynamic values (e.g. injecting $record).

Toolbar buttons

toolbarButtons() takes an array of button groups — each inner array is one group, rendered with a divider between groups. Passing a flat array (forgetting the extra nesting) is treated as a single group with a console warning rather than crashing the editor.

Available buttons: bold, italic, underline, strike, blockquote, codeBlock, h1, h2, h3, h4, orderedList, bulletList, link, image, clean.

Height

maxHeight(int $pixels) caps the editable content area's height and makes it scroll internally, while the toolbar stays fixed above it.

Testing

The test suite covers the field's configuration API (toolbarButtons(), maxHeight(), file attachment settings). It does not yet cover the upload flow end-to-end — mounting the field inside a real Livewire form currently hits an unrelated upstream bug in this environment's livewire/livewire / pestphp/pest-plugin-livewire versions (reproducible with a bare Livewire component, unrelated to this package).

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of filament-quill-editor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
filament/filament Version ^5.0
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.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 mileswu/filament-quill-editor contains the following files

Loading the files please wait ...