PHPackages                             mrshanebarron/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. [Templating &amp; Views](/categories/templating)
4. /
5. mrshanebarron/editor

ActiveLibrary[Templating &amp; Views](/categories/templating)

mrshanebarron/editor
====================

Rich text editor component for Laravel - supports Livewire and Vue

v1.0.1(6mo ago)08MITPHPPHP ^8.1

Since Dec 14Pushed 6mo agoCompare

[ Source](https://github.com/mrshanebarron/editor)[ Packagist](https://packagist.org/packages/mrshanebarron/editor)[ RSS](/packages/mrshanebarron-editor/feed)WikiDiscussions main Synced today

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

Editor
======

[](#editor)

A rich text editor component for Laravel applications. WYSIWYG editing with toolbar for formatting. Works with Livewire and Vue 3.

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

[](#installation)

```
composer require mrshanebarron/editor
```

Livewire Usage
--------------

[](#livewire-usage)

### Basic Usage

[](#basic-usage)

```

```

### With Placeholder

[](#with-placeholder)

```

```

### Livewire Props

[](#livewire-props)

PropTypeDefaultDescription`wire:model`string-HTML content`placeholder`string`'Write something...'`Placeholder text`editor-class`string`''`Additional CSS classesVue 3 Usage
-----------

[](#vue-3-usage)

### Setup

[](#setup)

```
import { SbEditor } from './vendor/sb-editor';
app.component('SbEditor', SbEditor);
```

### Basic Usage

[](#basic-usage-1)

```

import { ref } from 'vue';
const content = ref('');

```

### With Options

[](#with-options)

```

```

### Form Example

[](#form-example)

```

      Title

      Content

      Publish

import { reactive } from 'vue';

const form = reactive({
  title: '',
  content: ''
});

const save = () => {
  console.log('Saving:', form);
};

```

### Vue Props

[](#vue-props)

PropTypeDefaultDescription`modelValue`String`''`HTML content`placeholder`String`'Write something...'`Placeholder text`editorClass`String`''`Additional editor classes### Events

[](#events)

EventPayloadDescription`update:modelValue``string`Content changedToolbar Features
----------------

[](#toolbar-features)

ButtonAction**B**Bold text*I*Italic textUUnderline textListBullet list123Numbered listFeatures
--------

[](#features)

- **WYSIWYG Editing**: See formatting as you type
- **Toolbar**: Quick formatting buttons
- **Paste Handling**: Strips formatting from pasted text
- **Placeholder**: Shown when empty
- **Prose Styling**: Clean typography

Styling
-------

[](#styling)

Uses Tailwind CSS:

- Gray toolbar background
- Border around editor
- Prose typography styling
- Focus ring on editor

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, or 12
- Tailwind CSS 3.x

License
-------

[](#license)

MIT License

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance66

Regular maintenance activity

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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 ~1 days

Total

2

Last Release

201d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/193358540?v=4)[Mr Shane Barron](/maintainers/mrshanebarron)[@mrshanebarron](https://github.com/mrshanebarron)

### Embed Badge

![Health badge](/badges/mrshanebarron-editor/health.svg)

```
[![Health](https://phpackages.com/badges/mrshanebarron-editor/health.svg)](https://phpackages.com/packages/mrshanebarron-editor)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[illuminate/view

The Illuminate View package.

13047.0M2.2k](/packages/illuminate-view)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.2k14](/packages/tallstackui-tallstackui)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5443.8k](/packages/hasinhayder-tyro-dashboard)

PHPackages © 2026

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