wiebenieuwenhuis / filament-code-editor
Code editor for Filament
1.1.0
2024-04-12 15:58 UTC
Requires
- php: ^8.2
- filament/filament: ^3.0
- illuminate/contracts: ^11.0
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- nunomaduro/collision: ^8.1
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^2.34
- pestphp/pest-plugin-laravel: ^2.3
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^10.5
- spatie/laravel-ray: ^1.26
README
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.