PHPackages                             jkharley/filament-trumbowyg - 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. [Templating &amp; Views](/categories/templating)
4. /
5. jkharley/filament-trumbowyg

ActiveLibrary[Templating &amp; Views](/categories/templating)

jkharley/filament-trumbowyg
===========================

Trumbowyg wysiwyg editor field for Filament.

3.0.0(2y ago)72.9k—0%2[3 PRs](https://github.com/JKHarley/filament-trumbowyg/pulls)MITPHPPHP ^8.0

Since Nov 27Pushed 2y ago1 watchersCompare

[ Source](https://github.com/JKHarley/filament-trumbowyg)[ Packagist](https://packagist.org/packages/jkharley/filament-trumbowyg)[ Docs](https://github.com/jkharley/filament-trumbowyg)[ GitHub Sponsors](https://github.com/JKHarley)[ RSS](/packages/jkharley-filament-trumbowyg/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (16)Versions (12)Used By (0)

Filament Trumbowyg
==================

[](#filament-trumbowyg)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0807d50609fb37bf3506fd0a41f87f9c61f2acc68f91f9a7d022b387ef70fe50/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6b6861726c65792f66696c616d656e742d7472756d626f7779672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jkharley/filament-trumbowyg)[![Total Downloads](https://camo.githubusercontent.com/28a6cb20993b3274cfa63332738c79fe23b534a8821d5882c77428b207e1c821/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6b6861726c65792f66696c616d656e742d7472756d626f7779672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jkharley/filament-trumbowyg)

[Trumbowyg](https://alex-d.github.io/Trumbowyg/) wysiwyg editor field for Filament.

[![Screenshot 2022-11-27 at 18 04 49](https://user-images.githubusercontent.com/27085725/204152174-cc7d0ed5-6911-4e49-adc0-eb839df70261.png)](https://user-images.githubusercontent.com/27085725/204152174-cc7d0ed5-6911-4e49-adc0-eb839df70261.png)

Disclaimer
----------

[](#disclaimer)

> **Warning**: This field does not work with the Filament block builder. I'm actively trying to make this compatible and will hopefully have an update in the near future. The WYSIWYG default theme may also not work as expected in some cases with the Filament 3 theming. If you're using Filament in light mode make sure to set `reset_css` to `false` in the `filament-trumbowyg.php` config in a future update I will be adding the ability to customise the WYSIWYG theme.

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

[](#installation)

You can install the package via composer:

```
composer require jkharley/filament-trumbowyg
```

Usage
-----

[](#usage)

```
use JKHarley\FilamentTrumbowyg\Trumbowyg;

Trumbowyg::make('my-field')
```

### Buttons Pane Customisation

[](#buttons-pane-customisation)

You can customise the buttons pane by passing an array of buttons to the buttons key in the `filament-trumbowyg` config file. This will overwrite the default buttons pane set by Trumbowyg and will be used across all `Trumbowyg` fields.

```
php artisan vendor:publish --tag="filament-trumbowyg-config"
```

```
// config/filament-trumbowyg.php
'buttons' => [
    ['undo', 'redo'],
    ['strong', 'em', 'del'],
    'link',
    'fullscreen',
]
```

[![Screenshot 2022-11-30 at 18 20 13](https://user-images.githubusercontent.com/27085725/204877549-8e96b73b-695e-47a8-994e-bf99d6cd19ed.png)](https://user-images.githubusercontent.com/27085725/204877549-8e96b73b-695e-47a8-994e-bf99d6cd19ed.png)

Alternatively you can pass an array of buttons to the `buttons` method on the field. You can also use this to overwrite the buttons set in the config file for a specific field.

```
Trumbowyg::make('my-field')
    ->buttons([
        ['undo', 'redo'],
        ['strong', 'em', 'del'],
        'link',
        'fullscreen',
    ]),
```

### Basic Options

[](#basic-options)

Most options under the `basic options` selection on the [Trumbowyg](https://alex-d.github.io/Trumbowyg/documentation/#basic-options) website are supported with this field. Each option can be added as a chained method on the field or all fields can default to a value set in the config file. Here are the options that can be passed with an example value:

```
Trumbowyg::make('my-field')
    ->tagClasses([])
    ->changeActiveDropdownIcon(true)
    ->removeFormatPasted(true)
    ->tagsToRemove(['script'])
    ->tagsToKeep([])
    ->minimalLinks(true)
    ->linkTargets(['_self'])
    ->imageWidthModalEdit(true)
    ->urlProtocol('ftp')
```

Future Additions
----------------

[](#future-additions)

- Localization
- Theme customisation
- SVG icon customisation

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [James Harley](https://github.com/JKHarley)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.4% 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 ~74 days

Recently: every ~110 days

Total

7

Last Release

817d ago

Major Versions

0.2.0 → 1.0.02022-11-30

1.0.0 → 2.0.02023-03-12

2.1.0 → 3.0.02024-02-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/27085725?v=4)[James Harley](/maintainers/JKHarley)[@JKHarley](https://github.com/JKHarley)

---

Top Contributors

[![JKHarley](https://avatars.githubusercontent.com/u/27085725?v=4)](https://github.com/JKHarley "JKHarley (29 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")

---

Tags

laravelJKHarleyfilament-trumbowyg

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jkharley-filament-trumbowyg/health.svg)

```
[![Health](https://phpackages.com/badges/jkharley-filament-trumbowyg/health.svg)](https://phpackages.com/packages/jkharley-filament-trumbowyg)
```

###  Alternatives

[ryangjchandler/blade-capture-directive

Create inline partials in your Blade templates with ease.

8222.2M12](/packages/ryangjchandler-blade-capture-directive)[spatie/laravel-blade-comments

Add debug comments to your rendered output

177325.5k](/packages/spatie-laravel-blade-comments)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[bezhansalleh/filament-plugin-essentials

A collection of essential traits that streamline Filament plugin development by taking care of the boilerplate, so you can focus on shipping real features faster

27584.7k16](/packages/bezhansalleh-filament-plugin-essentials)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)

PHPackages © 2026

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