PHPackages                             laravel-admin-ext/clike-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. laravel-admin-ext/clike-editor

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

laravel-admin-ext/clike-editor
==============================

Several c-lick language editor extensions for laravel-admin based on code-mirror

v1.0.1(7y ago)38.9k↑136.5%2MITPHPPHP &gt;=7.0.0

Since Sep 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/laravel-admin-extensions/clike-editor)[ Packagist](https://packagist.org/packages/laravel-admin-ext/clike-editor)[ Docs](https://github.com/laravel-admin-ext/clike-editor)[ RSS](/packages/laravel-admin-ext-clike-editor/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Several c-lick language editor extensions for laravel-admin based on code-mirror
================================================================================

[](#several-c-lick-language-editor-extensions-for-laravel-admin-based-on-code-mirror)

[DEMO](http://demo.laravel-admin.org/code-mirror/clike) (Login using `admin/admin`)

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

[](#installation)

```
composer require laravel-admin-ext/clike-editor

php artisan vendor:publish --tag=laravel-admin-code-mirror
```

配置
--

[](#配置)

在`config/admin.php`文件的`extensions`，加上属于这个扩展的一些配置

```
    'extensions' => [

        'clike-editor' => [

            // 如果要关掉这个扩展，设置为false
            'enable' => true,

            // 编辑器的配置
            'config' => [

            ]
        ]
    ]
```

更多配置可以到[CodeMirror文档](https://codemirror.net/)找到

使用
--

[](#使用)

在form表单中使用它：

```
$form->clang('code');

$form->cpp('code');

$form->csharp('code');

$form->java('code');

$form->objectivec('code');

$form->scala('code');

$form->kotlin('code');

$form->ceylon('code');
```

设置高度

```
$form->clang('code')->height(500);
```

支持
--

[](#支持)

如果觉得这个项目帮你节约了时间，不妨支持一下;)

[![-1](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)](https://cloud.githubusercontent.com/assets/1479100/23287423/45c68202-fa78-11e6-8125-3e365101a313.jpg)

License
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2852d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48536779?v=4)[encore](/maintainers/encore)[@encore](https://github.com/encore)

---

Top Contributors

[![z-song](https://avatars.githubusercontent.com/u/1479100?v=4)](https://github.com/z-song "z-song (5 commits)")

---

Tags

extensioneditorcode mirrorlaravel-adminjavacppscalaclangobjectiveckotlinCeylon

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-admin-ext-clike-editor/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-admin-ext-clike-editor/health.svg)](https://phpackages.com/packages/laravel-admin-ext-clike-editor)
```

###  Alternatives

[laravel-admin-ext/summernote

Summernote extension for laravel-admin

37145.6k](/packages/laravel-admin-ext-summernote)[laravel-admin-ext/ckeditor

Integrate CKEDITOR into laravel-admin

30188.2k1](/packages/laravel-admin-ext-ckeditor)

PHPackages © 2026

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