PHPackages                             php-panel/ladmin-ext-js-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. [Admin Panels](/categories/admin)
4. /
5. php-panel/ladmin-ext-js-editor

ActiveLibrary[Admin Panels](/categories/admin)

php-panel/ladmin-ext-js-editor
==============================

Javascript editor extension for laravel-admin

05PHP

Since Dec 2Pushed 7mo agoCompare

[ Source](https://github.com/php-panel/ladmin-ext-js-editor)[ Packagist](https://packagist.org/packages/php-panel/ladmin-ext-js-editor)[ RSS](/packages/php-panel-ladmin-ext-js-editor/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Javascript editor extension for laravel-admin based on code-mirror
==================================================================

[](#javascript-editor-extension-for-laravel-admin-based-on-code-mirror)

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

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

[](#installation)

```
composer require php-panel/ladmin-ext-js-editor

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

Configuration
-------------

[](#configuration)

In the `extensions` section of the `config/admin.php` file, add some configuration that belongs to this extension.

```
    'extensions' => [

        'js-editor' => [

            // Set to false if you want to disable this extension
            'enable' => true,

            // Editor configuration
            'config' => [

            ]
        ]
    ]
```

The configuration of the editor can be found in [CodeMirror Docmentation](https://codemirror.net/)

使用
--

[](#使用)

在form表单中使用它：

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

// alias of `js` method
$form->javascript('code');

$form->json('code');

$form->jsond('code');

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

Set height

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

License
-------

[](#license)

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

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance45

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/php-panel-ladmin-ext-js-editor/health.svg)

```
[![Health](https://phpackages.com/badges/php-panel-ladmin-ext-js-editor/health.svg)](https://phpackages.com/packages/php-panel-ladmin-ext-js-editor)
```

PHPackages © 2026

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