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

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

laravel-admin-ext/css-editor
============================

CSS editor extension for laravel-admin

v1.0.0(7y ago)27.5k↓45.5%3MITPHPPHP &gt;=7.0.0

Since Sep 12Pushed 7y ago1 watchersCompare

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

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

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

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

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

[](#installation)

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

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

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

[](#configuration)

In `extensions` section of file `config/admin.php`，add following configurations

```
    'extensions' => [

        'css-editor' => [

            // set to false if you want to disable this exteions
            'enable' => true,

            // editor configuration
            'config' => [

            ]
        ]
    ]
```

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

Usage
-----

[](#usage)

Use it in form

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

$form->scss('code');

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

Set height

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

Donate
------

[](#donate)

> Help keeping the project development going, by donating a little. Thanks in advance.

[![PayPal Me](https://camo.githubusercontent.com/604e3db9c8751116b3f765aad0353ec7ded655bbe8aaacbc38d8c4a6b784b3ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f6e6174652d50617950616c2d677265656e2e737667)](https://www.paypal.me/zousong)

[![-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 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2802d 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 (2 commits)")

---

Tags

cssscsslessextensioneditorcode mirrorlaravel-admin

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[scssphp/scssphp

scssphp is a compiler for SCSS written in PHP.

62827.7M220](/packages/scssphp-scssphp)[trentrichardson/cakephp-shrink

Compiles, combines, and minifies javascript, coffee, less, scss, and css

1619.3k](/packages/trentrichardson-cakephp-shrink)

PHPackages © 2026

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