PHPackages                             wiebenieuwenhuis/filament-code-editor - 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. wiebenieuwenhuis/filament-code-editor

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

wiebenieuwenhuis/filament-code-editor
=====================================

Code editor for Filament

1.2.0(1y ago)1882.3k↑34.8%13[1 PRs](https://github.com/sweebee/filament-code-editor/pulls)2MITPHPPHP ^8.2

Since Oct 18Pushed 1y agoCompare

[ Source](https://github.com/sweebee/filament-code-editor)[ Packagist](https://packagist.org/packages/wiebenieuwenhuis/filament-code-editor)[ Docs](https://github.com/sweebee/filament-code-editor)[ RSS](/packages/wiebenieuwenhuis-filament-code-editor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (13)Versions (4)Used By (2)

Code editor for Filament
========================

[](#code-editor-for-filament)

> This is a fork of Sebastiaan Kloose's original filament code editor, as the original repository is archived, I created this fork.

This package provides a code editor form field type for Filament. It's based on CodeMirror 6.

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

[](#installation)

You can install the package via composer:

```
composer require wiebenieuwenhuis/filament-code-editor
```

Usage
-----

[](#usage)

```
use Wiebenieuwenhuis\FilamentCodeEditor\Components\CodeEditor;

CodeEditor::make('custom_css'),
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Sebastiaan Kloos](https://github.com/SebastiaanKloos)
- [Wiebe Nieuwenhuis](https://github.com/sweebee)

License
-------

[](#license)

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

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance47

Moderate activity, may be stable

Popularity43

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.8% 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 ~272 days

Total

3

Last Release

399d ago

PHP version history (2 changes)1.0.0PHP ^8.1

1.1.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/c128a37b027f47582249bbb0a5b2a1373d2b0b5cbe28bef7ba7a3811db0ec279?d=identicon)[sweebee](/maintainers/sweebee)

---

Top Contributors

[![SebastiaanKloos](https://avatars.githubusercontent.com/u/6506510?v=4)](https://github.com/SebastiaanKloos "SebastiaanKloos (34 commits)")[![sweebee](https://avatars.githubusercontent.com/u/10496485?v=4)](https://github.com/sweebee "sweebee (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![lvloper](https://avatars.githubusercontent.com/u/11544771?v=4)](https://github.com/lvloper "lvloper (1 commits)")[![ysfkaya](https://avatars.githubusercontent.com/u/16710972?v=4)](https://github.com/ysfkaya "ysfkaya (1 commits)")

---

Tags

laravelfilament-code-editor

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/wiebenieuwenhuis-filament-code-editor/health.svg)

```
[![Health](https://phpackages.com/badges/wiebenieuwenhuis-filament-code-editor/health.svg)](https://phpackages.com/packages/wiebenieuwenhuis-filament-code-editor)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[swisnl/filament-backgrounds

Beautiful backgrounds for Filament auth pages

54149.2k6](/packages/swisnl-filament-backgrounds)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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