PHPackages                             infinityxtech/filament-unlayer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. infinityxtech/filament-unlayer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

infinityxtech/filament-unlayer
==============================

Filament wrapper for unlayer editor.

v1.0.4(1y ago)272.9k7[5 PRs](https://github.com/zpm-packages/filament-unlayer-old/pulls)MITPHPPHP ^8.1CI passing

Since Jul 23Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/zpm-packages/filament-unlayer-old)[ Packagist](https://packagist.org/packages/infinityxtech/filament-unlayer)[ Docs](https://github.com/InfinityXTech/filament-unlayer)[ GitHub Sponsors](https://github.com/InfinityXTech)[ RSS](/packages/infinityxtech-filament-unlayer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (12)Used By (0)

Filament Unlayer
================

[](#filament-unlayer)

[![image](https://private-user-images.githubusercontent.com/100382372/351484111-92204605-3edf-48ba-81a8-0eadce20b2c5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzIyNjk4NDYsIm5iZiI6MTc3MjI2OTU0NiwicGF0aCI6Ii8xMDAzODIzNzIvMzUxNDg0MTExLTkyMjA0NjA1LTNlZGYtNDhiYS04MWE4LTBlYWRjZTIwYjJjNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMjI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDIyOFQwOTA1NDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04Zjg1MGVkN2I0YmUwMDdlNjc1N2ZiNTAyMjYyNDdmYWJhOGVjZmNmZmE2MjAzZTRlY2IxOTUwZGRkYWI2MWQ2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.5jjmvSRwn0uskQSp4jq3Wsso3O5iLZYgih5OJHw0sM8)](https://private-user-images.githubusercontent.com/100382372/351484111-92204605-3edf-48ba-81a8-0eadce20b2c5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzIyNjk4NDYsIm5iZiI6MTc3MjI2OTU0NiwicGF0aCI6Ii8xMDAzODIzNzIvMzUxNDg0MTExLTkyMjA0NjA1LTNlZGYtNDhiYS04MWE4LTBlYWRjZTIwYjJjNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwMjI4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDIyOFQwOTA1NDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04Zjg1MGVkN2I0YmUwMDdlNjc1N2ZiNTAyMjYyNDdmYWJhOGVjZmNmZmE2MjAzZTRlY2IxOTUwZGRkYWI2MWQ2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.5jjmvSRwn0uskQSp4jq3Wsso3O5iLZYgih5OJHw0sM8)

[![Latest Version on Packagist](https://camo.githubusercontent.com/47243a80ba19830271cd20a43e7956725747297b34a1d5571b7feb46b71f9985/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f496e66696e69747958546563682f66696c616d656e742d756e6c617965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/InfinityXTech/filament-unlayer)[![GitHub Tests Action Status](https://camo.githubusercontent.com/cfc928711c9f6369effce88ce961576b6a64ed99b98c40fb493252458f7bd771/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f496e66696e69747958546563682f66696c616d656e742d756e6c617965722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/InfinityXTech/filament-unlayer/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/04582991beba6862293f52b59ecf2256a4239ea53127bd447c67c0f742ab3e11/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f496e66696e69747958546563682f66696c616d656e742d756e6c617965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/InfinityXTech/filament-unlayer)

This is a filament wrapper for unlayer editor with custom select field with unlayer templates.

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

[](#installation)

You can install the package via composer:

```
composer require InfinityXTech/filament-unlayer
```

Create a cast within your model:

```
protected $casts = [
   'content' => 'array',
];
```

You can publish the config file with:

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

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-unlayer-views"
```

Usage
-----

[](#usage)

As any other filament form field:

```
Unlayer::make('content')->required()
```

In case you want to select unlayer templates you can use:

```
SelectTemplate::make('template'),
Unlayer::make('content')->required()
```

By default the Unlayer field name should `content` but if you need to change it you will need to update `SelectTemplate`:

```
SelectTemplate::make('template')
    ->afterStateUpdated(fn (string $operation, $state, Forms\Set $set)
        => $set('description', InfinityXTech\FilamentUnlayer\Services\GetTemplates::find($state))
    ),
Unlayer::make('description')->required()
```

If you want to pass additional options to unlayer, which will join default object set by plugin with your additional data you can use:

```
Unlayer::make('description')
    ->additionalOptions([
        'option' => 'value'
    ])
```

You can still chain other methods on these since:

`SelectTemplate` is extending filament `Select` field.

`Unlayer` is extending filament `Field` class.

Changelog
---------

[](#changelog)

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

License
-------

[](#license)

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

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance61

Regular maintenance activity

Popularity33

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~38 days

Recently: every ~32 days

Total

6

Last Release

469d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/211412089?v=4)[ZPM Labs](/maintainers/zpmlabs)[@ZPMLabs](https://github.com/ZPMLabs)

---

Top Contributors

[![sasaorasanin](https://avatars.githubusercontent.com/u/100382372?v=4)](https://github.com/sasaorasanin "sasaorasanin (15 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![emildayan](https://avatars.githubusercontent.com/u/22715782?v=4)](https://github.com/emildayan "emildayan (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![detechdivus](https://avatars.githubusercontent.com/u/224012274?v=4)](https://github.com/detechdivus "detechdivus (1 commits)")

---

Tags

laravelInfinityXTechfilament-unlayer

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/infinityxtech-filament-unlayer/health.svg)

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

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[schmeits/filament-character-counter

This is a Filament character counter TextField and Textarea form field for Filament v4 and v5

33184.7k6](/packages/schmeits-filament-character-counter)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[defstudio/filament-searchable-input

A searchable autocomplete input for Filament forms

3212.4k](/packages/defstudio-filament-searchable-input)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)

PHPackages © 2026

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