PHPackages                             php-panel/ladmin-ext-php-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. php-panel/ladmin-ext-php-editor

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

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

PHP editor extension for laravel-admin based on code-mirror

05PHP

Since Dec 3Pushed 5mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

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

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

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

[](#installation)

```
composer require php-panel/ladmin-ext-php-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' => [

        'php-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 Documentation](https://codemirror.net/)

Usage
-----

[](#usage)

Use it in the form:

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

Set height

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

License
-------

[](#license)

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

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance48

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://www.gravatar.com/avatar/f32cb7625515c0969fec15915be4a137f057c3484420bb7abf025c8e975dd3a5?d=identicon)[leeqvip](/maintainers/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-php-editor/health.svg)

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

###  Alternatives

[friendsofsylius/sylius-import-export-plugin

import / export plugin for Sylius.

119405.2k](/packages/friendsofsylius-sylius-import-export-plugin)[thisisbd/silverstripe-maintenance-mode

SilverStripe Maintenance Mode Module. Allows an administrator to put site in offline mode with 503 status to display a 'Coming Soon', 'Under Construction' or 'Down for Maintenance' Page to regular visitors, whilst allowing a logged in admin user to browse and make changes to the site.

2311.6k](/packages/thisisbd-silverstripe-maintenance-mode)[foothing/laravel-simple-pageviews

281.5k](/packages/foothing-laravel-simple-pageviews)

PHPackages © 2026

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