PHPackages                             magedrop/magento2 - 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. magedrop/magento2

ActiveMagento2-module

magedrop/magento2
=================

MageDrop companion module for Magento 2 — stage, preview, and deploy CMS content changes

1.0.3(1mo ago)06↓100%proprietaryPHPPHP ^8.2

Since Apr 7Pushed 3w agoCompare

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

READMEChangelogDependencies (3)Versions (4)Used By (0)

MageDrop\_Magento2
==================

[](#magedrop_magento2)

Magento 2 companion module for [MageDrop](https://magentoscheduler-production.up.railway.app) — stage, preview, and deploy CMS content changes as coordinated releases.

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

[](#requirements)

- Magento 2.4.x
- PHP 8.2+
- A MageDrop SaaS account

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

[](#installation)

```
composer require magedrop/magento2
php bin/magento module:enable MageDrop_Magento2
php bin/magento setup:upgrade
rm -rf generated/
php bin/magento setup:di:compile
php bin/magento cache:flush
```

Configuration
-------------

[](#configuration)

Navigate to **Stores &gt; Configuration &gt; MageDrop &gt; Connection** and enter:

FieldDescriptionEnabledEnable/disable the moduleModule TokenThe token from your store's setup page in the MageDrop dashboardFeatures
--------

[](#features)

### MageDrop Button

[](#magedrop-button)

A branded split button appears on CMS Page and Block edit forms with three actions:

- **Quick Preview** — stages the current form data to a temporary release and opens a preview in a new tab
- **Load from Release** — loads staged changes from a release into the edit form so you can review them
- **Save &amp; Stage** — stages the current form data to a selected release via AJAX

### Preview Bar

[](#preview-bar)

When previewing staged content on the frontend, a branded bar appears at the top of the page showing which release is being previewed, with an exit button.

Supports both Luma and Hyva themes.

### Connection Test

[](#connection-test)

The module exposes a REST endpoint (`GET /rest/V1/magedrop/ping`) that the SaaS uses to verify the round-trip connection: SaaS &gt; Magento &gt; Module &gt; SaaS.

How It Works
------------

[](#how-it-works)

```
Magento Admin                         MageDrop SaaS
+------------------+                 +------------------+
| Edit CMS content |                 | Release CRUD     |
| "Save & Stage"   |---- delta ---->| Store changes    |
|                  |                 |                  |
| Preview mode     |
