PHPackages                             cookiemc337/filament-ace-editor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cookiemc337/filament-ace-editor

ActiveLibrary

cookiemc337/filament-ace-editor
===============================

Ace Editor implementation for Filament 3 Form

014PHP

Since Mar 9Pushed 1y agoCompare

[ Source](https://github.com/CookieMC337/filament-ace-editor)[ Packagist](https://packagist.org/packages/cookiemc337/filament-ace-editor)[ RSS](/packages/cookiemc337-filament-ace-editor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Filament Ace Editor
===================

[](#filament-ace-editor)

[![Latest Version on Packagist](https://camo.githubusercontent.com/46deeea45d02e5729118f1951ba9af34b66db5883e4de62bb97145559ada986c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72696f6477616e746f2f66696c616d656e742d6163652d656469746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/riodwanto/filament-ace-editor)[![Total Downloads](https://camo.githubusercontent.com/e23d55b412181e5b97f42400710a35b445e7bcec81debc5cb9f7ac6142929a6e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72696f6477616e746f2f66696c616d656e742d6163652d656469746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/riodwanto/filament-ace-editor)

Ace Editor implementation for Filament Form.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require riodwanto/filament-ace-editor
```

Usage
-----

[](#usage)

```
use Riodwanto\FilamentAceEditor\AceEditor;

public function form(Form $form): Form
{
    return $form
        ->schema([
            ...
            AceEditor::make('code-editor')
                ->mode('php')
                ->theme('github')
                ->darkTheme('dracula'),
        ])

}
```

##### Available methods

[](#available-methods)

MethodInfomodechange editor programming languagethemedefault theme in light modedarkThemedefault theme in dark modeheightset editor heightdisableDarkThemedisable `darkTheme`, `theme` will be used as defaulteditorConfigeditor config will be initialize after `ace` loaded. (it is config that used in `ace.config`)editorOptionseditor options used in `ace.editor.options`, you can set additional ace option here.addExtensionsby default, not all options available in `editorOptions`. you must enable extension first with this method.All default value can be [see here](#config)

Publishing
----------

[](#publishing)

You can publish the views using:

```
php artisan vendor:publish --tag="filament-ace-editor-views"
```

You can publish the config file with:

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

###### config

[](#config)

This is the contents of the published config file:

```
return [
    ...

    // Initilization ace config
    'editor_config' => [
        'useWorker' => false
    ],

    // Editor options
    'editor_options' => [
        'mode' => 'ace/mode/php',
        'theme' => 'ace/theme/eclipse',
        'enableBasicAutocompletion' => true,
        'enableLiveAutocompletion' => true,
        'liveAutocompletionDelay' => 0,
        'liveAutocompletionThreshold' => 0,
        'enableSnippets' => true,
        'enableInlineAutocompletion' => true,
        'showPrintMargin' => false,
        'wrap' => 'free'
    ],

    'dark_mode' => [
        'enable' => true,
        'theme' => 'ace/theme/dracula',
    ],

    'enabled_extensions' => [
        'beautify',
        'language_tools',
        'inline_autocomplete',
    ],

    ...
];
```

###### Supported [Ace Features](https://ace.c9.io/#features)

[](#supported-ace-features)

**Feature**Themes✅Automatic indent and outdent✅Handles huge documents✅Search and replace✅Line wrapping✅An optional command line❌Multiple cursors and selections✅Key bindings❌[![Buy Me A Coffee](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://buymeacoffee.com/riodewanto)

Credits
-------

[](#credits)

- [Rio Dewanto P](https://github.com/riodwanto)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7cf1d6d8d7218eeace3f50fe0bd639ba0774f199124f3ad250aa63d117bebc95?d=identicon)[CookieMC337](/maintainers/CookieMC337)

---

Top Contributors

[![riodwanto](https://avatars.githubusercontent.com/u/5293897?v=4)](https://github.com/riodwanto "riodwanto (4 commits)")[![slimani-dev](https://avatars.githubusercontent.com/u/25089144?v=4)](https://github.com/slimani-dev "slimani-dev (2 commits)")[![CookieMC337](https://avatars.githubusercontent.com/u/51511368?v=4)](https://github.com/CookieMC337 "CookieMC337 (1 commits)")[![inerba](https://avatars.githubusercontent.com/u/5882517?v=4)](https://github.com/inerba "inerba (1 commits)")

### Embed Badge

![Health badge](/badges/cookiemc337-filament-ace-editor/health.svg)

```
[![Health](https://phpackages.com/badges/cookiemc337-filament-ace-editor/health.svg)](https://phpackages.com/packages/cookiemc337-filament-ace-editor)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
