PHPackages                             bayareawebpro/nova-field-ckeditor - 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. [Image &amp; Media](/categories/media)
4. /
5. bayareawebpro/nova-field-ckeditor

AbandonedArchivedLibrary[Image &amp; Media](/categories/media)

bayareawebpro/nova-field-ckeditor
=================================

A Laravel Nova field.

v1.1.3(4y ago)158.7k—0%10MITVuePHP ^7.4|^8.0

Since Apr 29Pushed 4y ago2 watchersCompare

[ Source](https://github.com/bayareawebpro/nova-field-ckeditor)[ Packagist](https://packagist.org/packages/bayareawebpro/nova-field-ckeditor)[ RSS](/packages/bayareawebpro-nova-field-ckeditor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (19)Used By (0)

> EOL NOTICE: No further development is planned. This repository will be archived eventually, feel free to fork it and maintain your own version.

Laravel Nova - CkEditor v5 Field
================================

[](#laravel-nova---ckeditor-v5-field)

Media, Links &amp; Snippet Browsers (VueJS)

[![Downloads](https://camo.githubusercontent.com/a26c407e57b33d4a71ff08a035cc4a27fc05046ffe9a433355c3fabc68c6b31f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261796172656177656270726f2f6e6f76612d6669656c642d636b656469746f722e737667)](https://camo.githubusercontent.com/a26c407e57b33d4a71ff08a035cc4a27fc05046ffe9a433355c3fabc68c6b31f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261796172656177656270726f2f6e6f76612d6669656c642d636b656469746f722e737667)[![Version](https://camo.githubusercontent.com/5a16a1d34ba0a774d57198f71322a641cc4964e844902041f868fca608d257ee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6261796172656177656270726f2f6e6f76612d6669656c642d636b656469746f722e737667)](https://camo.githubusercontent.com/5a16a1d34ba0a774d57198f71322a641cc4964e844902041f868fca608d257ee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6261796172656177656270726f2f6e6f76612d6669656c642d636b656469746f722e737667)[![MIT](https://camo.githubusercontent.com/b60ae987297da06088ea8e815265e37e4627c6f6485d19a3dcb963b576141b28/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d737563636573732e737667)](https://camo.githubusercontent.com/b60ae987297da06088ea8e815265e37e4627c6f6485d19a3dcb963b576141b28/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d737563636573732e737667)

Includes custom written plugins for Media, Links &amp; Snippet Modals. Publishable stubs for out-of-the-box usage. Implement rich content editing in minutes.

**Fields Included:**

- CkEditor Field
- FeaturedMedia Field
- MediaUpload Field

**Packages Included:**

- Spatie Image Optimizer
- Intervention Image

### Installation

[](#installation)

```
composer require bayareawebpro/nova-field-ckeditor
php artisan vendor:publish --tag=config
```

#### Install Optimizers

[](#install-optimizers)

> See:

### Publish Stubs: Models, Resources, Migrations, Views

[](#publish-stubs-models-resources-migrations-views)

> Review the included stubs to see the intended implementation.

```
php artisan vendor:publish --tag=nova-ckeditor-stubs
```

---

### Editor Field Usage:

[](#editor-field-usage)

```
CkEditor::make('Content')
    ->rules('required')
    ->hideFromIndex()
    ->mediaBrowser()
    ->linkBrowser()
    ->height(60)
    ->stacked()
    ->snippets([
        ['name' =>'Cool Snippet1', 'html'=> view('snippets.1')->render()],
        ['name' =>'Cool Snippet2', 'html'=> view('snippets.2')->render()],
        ['name' =>'Cool Snippet3', 'html'=> view('snippets.3')->render()],
    ])
    ->toolbar([
        'heading',
        'horizontalLine',
        '|',
        'link',
        'linkBrowser',
        '|',
        'bold',
        'italic',
        'alignment',
        'subscript',
        'superscript',
        'underline',
        'strikethrough',
        '|',
        'blockQuote',
        'bulletedList',
        'numberedList',
        '|',
        'insertTable',
        'mediaEmbed',
        'mediaBrowser',
        'insertSnippet',
        '|',
        'undo',
        'redo'
    ]),
```

> Note: Snippets will only render CkEditor Elements.
> Standard HTML or Figures (table, image, video), see included views.

##### Recommended Package:

[](#recommended-package)

---

### FeaturedMedia Field Usage:

[](#featuredmedia-field-usage)

```
FeaturedMedia::make('Image','media_id')
    ->rules('nullable')
    ->sizeOnDetail(800, 600)
    ->sizeOnForms(600, 400)
    ->sizeOnIndex(100,100)
    ->stacked(),
```

---

### MediaUpload Field Usage:

[](#mediaupload-field-usage)

> Note this field is **not updatable** by default. Replacing media may result in broken images. Delete and re-upload is the intended methodology.

```
MediaUpload::make('File', $disk='media')
    ->rules('required','mimes:jpg,jpeg,png,gif', 'max:5000')
    ->help('5MB Max FileSize.')
    ->maxWidth(800),
```

#### Media Local Disk

[](#media-local-disk)

```
'media' => [
    'driver' => 'local',
    'root' => storage_path('app/public/media'),
    'url' => env('APP_URL').'/storage/media',
    'visibility' => 'public',
],
```

#### Media Cloud Disk

[](#media-cloud-disk)

```
'media' => [
    'driver' => 's3',
    'key' => env('SPACES_KEY'),
    'secret' => env('SPACES_SECRET'),
    'endpoint' => env('SPACES_ENDPOINT'),
    'region' => env('SPACES_REGION'),
    'bucket' => env('SPACES_BUCKET'),
    'root' => 'media',
    'url' => 'https://'.env('SPACES_BUCKET').'.'.env('SPACES_REGION').'.cdn.digitaloceanspaces.com/media',
    'options' => [ 'CacheControl' => 'max-age=31536000, public' ],
],
```

#### MediaStorage

[](#mediastorage)

> Override the MediaStorage Service by binding your own extended version.

```
use Illuminate\Http\Request;
use BayAreaWebPro\NovaFieldCkEditor\MediaStorage;
class MyMediaStorage extends MediaStorage
{
    public function __invoke(Request $request)
    {
        // TODO: Change the default implementation.
    }
}
$this->app->bind('ckeditor-media-storage', MyMediaStorage::class);
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

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

Every ~40 days

Recently: every ~55 days

Total

17

Last Release

1553d ago

PHP version history (2 changes)v1.0PHP &gt;=7.4

v1.0.8PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/93d3895de269a38f94d24217615daba9bd5a47439d1813203775961d47be269e?d=identicon)[bayareawebpro](/maintainers/bayareawebpro)

---

Top Contributors

[![bayareawebpro](https://avatars.githubusercontent.com/u/2476179?v=4)](https://github.com/bayareawebpro "bayareawebpro (65 commits)")[![pindab0ter](https://avatars.githubusercontent.com/u/5128166?v=4)](https://github.com/pindab0ter "pindab0ter (2 commits)")

---

Tags

ckeditorckeditor5laravelmedianovasnippetsvuelaravelnova

### Embed Badge

![Health badge](/badges/bayareawebpro-nova-field-ckeditor/health.svg)

```
[![Health](https://phpackages.com/badges/bayareawebpro-nova-field-ckeditor/health.svg)](https://phpackages.com/packages/bayareawebpro-nova-field-ckeditor)
```

###  Alternatives

[classic-o/nova-media-library

Tool and field that will let you managing files and add them to the posts

154172.0k](/packages/classic-o-nova-media-library)[mostafaznv/nova-ckeditor

CkEditor for Laravel Nova

57327.2k1](/packages/mostafaznv-nova-ckeditor)[r64/nova-image-cropper

A Laravel Nova field.

56293.4k](/packages/r64-nova-image-cropper)[mostafaznv/nova-video

Video Field for Laravel Nova

22398.0k1](/packages/mostafaznv-nova-video)[silvanite/nova-field-cloudinary

A Laravel Nova Image Field with Flysystem Adapter for storing and retrieving media from Cloudinary

2972.0k3](/packages/silvanite-nova-field-cloudinary)[stepanenko3/nova-media-field

A Laravel Nova field for laravel-medilibrary.

1717.5k](/packages/stepanenko3-nova-media-field)

PHPackages © 2026

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