jeffersongoncalves / filament-ace-editor-field
A Laravel Filament v4 field that integrates the Ace code editor into your forms, providing a rich, syntax‑highlighted code editing experience.
Requires
- php: ^8.2|^8.3
- filament/filament: ^4.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.21
- orchestra/testbench: ^9.0|^10.0
README
Filament Ace Editor Field
A Laravel Filament v4 field that integrates the Ace code editor into your forms, offering a rich, syntax-highlighted code editing experience with configurable modes and themes.
Requirements
- PHP 8.2 or higher
- Laravel Filament 4.0 or higher
Installation
You can install the package via composer:
composer require jeffersongoncalves/filament-ace-editor-field
Usage
Once installed, you can use the AceEditorInput component in your Filament forms:
use JeffersonGoncalves\Filament\AceEditorField\Forms\Components\AceEditorInput; // In your form definition AceEditorInput::make('description') ->mode('html') ->theme('monokai') ->height(200) ->placeholder('Enter your description here') ->required(),
Development
You can run code analysis and formatting using the following commands:
# Run static analysis composer analyse # Format code composer format
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.