Download the PHP package riodwanto/filament-ace-editor without Composer
On this page you can find all versions of the php package riodwanto/filament-ace-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download riodwanto/filament-ace-editor
More information about riodwanto/filament-ace-editor
Files in riodwanto/filament-ace-editor
Package filament-ace-editor
Short Description An ACE editor field for Filament forms with syntax highlighting, themes, and autocompletion.
License MIT
Homepage https://github.com/riodwanto/filament-ace-editor
Informations about the package filament-ace-editor
Filament Ace Editor
Ace Editor implementation for Filament Form.
Requirements
- PHP 8.2+
- Laravel 11.28+
Version Compatibility
| Package Version | Filament Version | Status |
|---|---|---|
| 4.1.0 | 4.x | Latest ✨ |
| 1.x | 3.x | Stable ✅ |
Choose the package version that matches your Filament installation. We recommend using the latest compatible version for the best features and security updates.
Installation
You can install the package via composer:
The package will automatically detect your Filament version and install the compatible release.
Usage
Available methods
| Method | Info |
|---|---|
| mode | change editor programming language |
| theme | default theme in light mode |
| darkTheme | default theme in dark mode |
| height | set editor height |
| disableDarkTheme | disable darkTheme, theme will be used as default |
| editorConfig | editor config will be initialize after ace loaded. (it is config that used in ace.config) |
| editorOptions | editor options used in ace.editor.options, you can set additional ace option here. |
| addExtensions | by default, not all options available in editorOptions. you must enable extension first with this method. |
| headerTitle | Editor tittle |
| fontSize | Set font size using string (px, rem, em) or integer |
| cursorStyle | Set cursor style: ace, slim, smooth, wide, smooth-slim |
| softWrap | Control text wrapping behavior: off, free, printMargin, textWidth |
| showGutter | Show/hide line numbers and breakpoints |
| showPrintMargin | Show/hide vertical print margin line |
| foldStyle | Set code folding style: manual, markbegin, markbeginend |
| tabSize | Set tab size for indentation |
| useSoftTabs | Use spaces instead of tabs for indentation |
All default values can be found in the Configuration section below.
Publishing
You can publish the views using:
You can publish the config file with:
Configuration
This is the contents of the published config file:
Supported Features
This package supports most of the powerful features from Ace Editor:
| Feature | Support |
|---|---|
| Syntax highlighting themes | ✅ Full |
| Automatic indent/outdent | ✅ Full |
| Huge document handling | ✅ Full |
| Search and replace | ✅ Full |
| Line wrapping | ✅ Full |
| Multiple cursors and selections | ✅ Full |
| Autocompletion | ✅ Full |
| Snippets | ✅ Full |
| Custom key bindings | ⚠️ Limited |
| Command line interface | ❌ Not supported |
Limited: Custom key bindings require additional configuration.
Credits
- Rio Dewanto P
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-ace-editor with dependencies
spatie/laravel-package-tools Version ^1.15.0
illuminate/contracts Version ^11.28
