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(5mo ago)08MITPHPPHP ^8.1

Since Dec 14Pushed 4mo agoCompare

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

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

33

—

LowBetter than 75% of packages

Maintenance73

Regular maintenance activity

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

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

153d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a38dc9b4ccc180ee3e9df8879f8747ea9dbf36812c6546827fe504fa8993eb8?d=identicon)[mrshanebarron](/maintainers/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.6M2.6k](/packages/craftcms-cms)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[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.

44643.1k1](/packages/pressbooks-pressbooks)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)[konekt/html

HTML and Form Builders for the Laravel Framework

24403.2k5](/packages/konekt-html)

PHPackages © 2026

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