xreal / filament-code-editor

Code editor for Filament

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Code editor for Filament

License:MIT License


Languages

Language:PHP 51.2%Language:JavaScript 35.4%Language:Blade 13.4%