open-kampus/filament-ace-editor
Composer 安装命令:
composer require open-kampus/filament-ace-editor
包简介
Fork of Filament Ace Editor implementation for Filament 3 by Rio Dewanto P.
关键字:
README 文档
README
Fork of Ace Editor implementation for Filament Form by Rio Dewanto P.
Installation
You can install the package via composer:
composer require open-kampus/filament-ace-editor
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
| 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. |
All default value can be see here
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
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
License
The MIT License (MIT). Please see License File for more information.
open-kampus/filament-ace-editor 适用场景与选型建议
open-kampus/filament-ace-editor 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 36 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 06 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「filament」 「filament-form-field」 「filament-field」 「filament-ace-editor」 「code-editor」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 open-kampus/filament-ace-editor 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 open-kampus/filament-ace-editor 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 open-kampus/filament-ace-editor 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Alfabank REST API integration
Syncfusion Rich Text Field for Filament 3 Form
Leaflet map picker and GeoJSON draw field for Filament 5.
Database-driven onboarding for Filament: progress checklists and guided spotlight tours, translatable to any locale.
Laravel package for Accurate Online API integration.
Create-project starter for a Laravel application with the public Capell CMS foundation.
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-10