PHPackages                             mo\_sweed/dropblockeditor - 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. mo\_sweed/dropblockeditor

ActiveLibrary

mo\_sweed/dropblockeditor
=========================

A nice block based editor made with Laravel Livewire.

1.1(1y ago)08MITPHPPHP ^8.1

Since Jun 20Pushed 1y ago1 watchersCompare

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

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

[![Logo DropBlockEditor](./logos/logo1.svg)](./logos/logo1.svg)

Introduction
============

[](#introduction)

The DropBlockEditor package provides you with a cool drag and drop editor. It allows you to easily create your own custom blocks and make them editable through Livewire components.

- > Note: This package is in the pre-release stage. Code is subject to change and should not considered stable at this time.

Requirements
============

[](#requirements)

To use this package, you'll need:

- > To use with Livewire v3.
- > PHP 8.1 or higher

Installation
============

[](#installation)

You can install the package via composer:

```
composer require mo_sweed/dropblockeditor
```

You can publish all files with:

```
php artisan vendor:publish --provider="Mo_sweed\DropBlockEditor\DropBlockEditorServiceProvider" –-force
```

Once all files are published, open `routes/web.php`, and add this code at the end of the page:

```
require __DIR__.'/dropblockeditor.php';
```

After that, run this command:

```
php artisan migrate
```

Run the following artisan command to create a new Block with an edit component
------------------------------------------------------------------------------

[](#run-the-following-artisan-command-to-create-a-new-block-with-an-edit-component)

```
php artisan dropblockeditor:make Text
```

Migrations
==========

[](#migrations)

- > **Name:** pages

Model
=====

[](#model)

- > **Name:** pages
- > **Data:** \[title, slug, status, content\]
- > The Route key is a slug

Route
=====

[](#route)

- > `update_page/{page:slug}`: if you have a page
- > `create_page`: to make a page
- > Both routes using the same page: PageEiditor

PageEiditor
===========

[](#pageeiditor)

- > **Location:** App\\Livewire\\DropBlockEditor
- > **Function:** Check if the URL has `(page:slug)`. If a page exists with `(page:slug)`, then send all info page to DropBlockEditor. Else return 404. If the URL doesn't have `(page:slug)`, then call DropBlockEditor.

DropBlockEditor
===============

[](#dropblockeditor)

- > **Location:** App\\Livewire\\DropBlockEditor
- > **Function:** Get all existing blocks, page settings, and change Blocks location.

Blocks
======

[](#blocks)

A block has a visual side which is the `Block` class and an optional modified Livewire component (`BlockEditComponent`) to make it editable.
--------------------------------------------------------------------------------------------------------------------------------------------

[](#a-block-has-a-visual-side-which-is-the-block-class-and-an-optional-modified-livewire-component-blockeditcomponent-to-make-it-editable)

- > **Block location:** App\\Classes\\Blocks
- > **BlockEditComponent:** App\\Livewire\\DropBlockEditor\\Components

Credits
-------

[](#credits)

- [Mohmad Yazan Sweed](https://github.com/Mosweed)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

2

Last Release

688d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e6db9db9cec7f66ef910e89aaec120afa72d493b29e60546d1706c6493936de0?d=identicon)[mo\_sweed](/maintainers/mo_sweed)

---

Top Contributors

[![Mosweed](https://avatars.githubusercontent.com/u/74544214?v=4)](https://github.com/Mosweed "Mosweed (3 commits)")

---

Tags

dropdropblocklaravellivewirephp

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/mo-sweed-dropblockeditor/health.svg)

```
[![Health](https://phpackages.com/badges/mo-sweed-dropblockeditor/health.svg)](https://phpackages.com/packages/mo-sweed-dropblockeditor)
```

###  Alternatives

[leandrocfe/filament-apex-charts

Apex Charts integration for Filament PHP.

4861.2M8](/packages/leandrocfe-filament-apex-charts)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[spatie/livewire-filepond

Upload files using Filepond in Livewire components

306452.7k3](/packages/spatie-livewire-filepond)[filament/support

Core helper methods and foundation code for all Filament packages.

2323.9M151](/packages/filament-support)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)

PHPackages © 2026

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