Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

QQ20200925-120900

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).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages