wiebenieuwenhuis/filament-code-editor

Code editor for Filament
82,306 18
Install
composer require wiebenieuwenhuis/filament-code-editor
Latest Version:1.2.0
PHP:^8.2
License:MIT
Last Updated:Apr 14, 2025
Links: GitHub  ·  Packagist
Maintainer: sweebee

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

You can install the package via composer:

composer require wiebenieuwenhuis/filament-code-editor

Usage

use Wiebenieuwenhuis\FilamentCodeEditor\Components\CodeEditor;

CodeEditor::make('custom_css'),

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

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.