Zum Inhalt springen
← Zurück zu den Projekten

Filament Ace Editor Field

Version: v4 v5 · branch: 2.x

Filament Ace Editor Field

#Filament Ace Editor Field

Buy Me A Coffee

Latest Version on Packagist GitHub Code Style Action Status Total Downloads License

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
  • Filament 5.0

#Installation

You can install the package via composer:

composer require jeffersongoncalves/filament-ace-editor-field:^2.0

#Usage

Publish config file.

php artisan vendor:publish --tag=filament-ace-editor-field-config

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.

Neue Version verfügbar.