php-panel/ladmin-ext-code-editor
Composer 安装命令:
composer require php-panel/ladmin-ext-code-editor
包简介
Code editor extension for laravel-admin based on code-mirror
README 文档
README
Code editor extension for laravel-admin 2.x based on CodeMirror
Supports php、sql、javascript、java、c、cpp、csharp、objc、scala、kotlin、ceylon、python、ruby、css、sass、less、xml、html、nginx、vuejs、lua、yaml、swift、clojure、coffeescript、protobuf、commonlisp、dart、dockerfile、diff、rust、shell、go、haml
Installation
composer require php-panel/ladmin-ext-code-editor -vvv
Usage
Use it in the form:
$form->code('code_column')->php(); $form->code('code_column')->dockerfile(); $form->code('code_column')->html();
Set height:
$form->php('code')->height(500);
Use in show page:
// show as PHP code and 300 height. $show->field('code_column')->code('php', 300);
License
Licensed under The MIT License (MIT).
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-04
