PHPackages                             starsoft/laravel-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. starsoft/laravel-editor

ActiveLibrary

starsoft/laravel-editor
=======================

A package for use Grapes.js in Larave

1.1.8(3y ago)2294MITPHPPHP ^7.3|^8.0

Since May 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/saqijaan/lara-editor)[ Packagist](https://packagist.org/packages/starsoft/laravel-editor)[ RSS](/packages/starsoft-laravel-editor/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (2)Versions (19)Used By (0)

lara-editor
===========

[](#lara-editor)

install via composer.

`composer require starsoft/laravel-editor`

To Get Start with LaraEditor Follow steps below

1. Add 'gjs\_data' Column to model you are going to use with Editor.
2. Implement Editable Interface to Model class
3. add Editable trait to model class
4. Implement Required methods in model and create 2 routes to load and store editor content
5. create a *EditorContentController* controller and add following methods

```
    /**
     * Display a listing of the resource.
     *
     * @return Response
     */
    public function index(Page $page)
    {
        return $page->getEditor();
    }

    /**
     * Store a newly created resource in storage.
     *
     * @param Request $request
     * @return Response
     */
    public function store(Request $request, Page $page)
    {
        return $page->saveEditorData($request);

    }

    public function templates(Page $page)
    {
       return array_merge(
           $page->getTemplatesFromPath(config('cms.templatesPath')),
           $page->getBlocksFromPath(config('cms.blocksPath')),
        );
    }

```

7. create following routes

```
Route::get('page-customize/{page}', [PageEditorController::class, 'index'])->name('page-customize.index');
Route::post('page-customize/{page}', [PageEditorController::class, 'store'])->name('page-customize.store');
Route::get('page-customize/{page}/templates', [PageEditorController::class, 'templates'])->name('page-customize.templates');

```

8. publish &amp; run migration files

```
php artisan vendor:publish --provider="LaraEditor\LaraEditorServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations"
php artisan migrate

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Every ~22 days

Total

18

Last Release

1444d ago

Major Versions

1.1.6 → v2.1.x-dev2022-04-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7ee70e118b514e2887eb68cd2256252a88b463825cf924a32938db5591b869b?d=identicon)[saqijaan](/maintainers/saqijaan)

---

Top Contributors

[![saqijaan](https://avatars.githubusercontent.com/u/45781603?v=4)](https://github.com/saqijaan "saqijaan (10 commits)")

### Embed Badge

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

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[livewire-filemanager/filemanager

A simple, friendly and practical Livewire filemanager for your applications

3587.6k1](/packages/livewire-filemanager-filemanager)

PHPackages © 2026

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