PHPackages                             open-kampus/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. open-kampus/filament-ace-editor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

open-kampus/filament-ace-editor
===============================

Fork of Filament Ace Editor implementation for Filament 3 by Rio Dewanto P.

1.1.2(11mo ago)136MITPHPPHP ^8.1

Since Jun 10Pushed 11mo agoCompare

[ Source](https://github.com/Open-Kampus/filament-ace-editor)[ Packagist](https://packagist.org/packages/open-kampus/filament-ace-editor)[ Docs](https://github.com/Open-Kampus/filament-ace-editor)[ RSS](/packages/open-kampus-filament-ace-editor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

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

[](#filament-ace-editor)

[![Latest Version on Packagist](https://camo.githubusercontent.com/98d0e838e8f270fd175630ba2048b9b061f93586ec6364569dc41d8d9ed54164/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f70656e2d6b616d7075732f66696c616d656e742d6163652d656469746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/open-kampus/filament-ace-editor)[![Total Downloads](https://camo.githubusercontent.com/e2204fae0a09147321b04da4a530af67f79416e9c39f229b01b0e8b900073102/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f70656e2d6b616d7075732f66696c616d656e742d6163652d656469746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/open-kampus/filament-ace-editor)

Fork of Ace Editor implementation for Filament Form by [Rio Dewanto P](https://github.com/riodwanto/filament-ace-editor).

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

[](#installation)

You can install the package via composer:

```
composer require open-kampus/filament-ace-editor
```

Usage
-----

[](#usage)

```
use OpenKampus\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',
    ],

    ...
];
```

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

31

—

LowBetter than 68% of packages

Maintenance52

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

336d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bdbbe9ef4ad68474c20190ce9d29c04c5a7c62505b01e5e7254ded7b482f8acf?d=identicon)[Sirajunnasihin](/maintainers/Sirajunnasihin)

---

Top Contributors

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

---

Tags

laravelcode editorfilamentfilament fieldriodwantofilament-ace-editorfilament-form-field

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[creagia/filament-code-field

A Filamentphp input field to edit or view code data.

58289.3k3](/packages/creagia-filament-code-field)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

320392.1k17](/packages/codewithdennis-filament-select-tree)[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[dotswan/filament-map-picker

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

124139.3k2](/packages/dotswan-filament-map-picker)[swisnl/filament-backgrounds

Beautiful backgrounds for Filament auth pages

54149.2k6](/packages/swisnl-filament-backgrounds)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)

PHPackages © 2026

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