Skip to main content Skip to search Skip to main navigation
Diese Seite ist auch auf Deutsch verfügbar.
weedesign

Staging Environment Manager

Rating: no rating ( write a review )
Downloads: <10

Description

Highlights

  • No shell access needed: entire provisioning runs in pure PHP and PDO
  • Memory-safe database clone: streams row by row, never loads a full table into memory
  • Encrypted credential storage: staging DB passwords never stored in plain text
  • Automatic .env protection: dot-files locked to 0600 and guarded via PHP on every request
  • Full Admin integration: live log viewer, status polling and multi-environment management without leaving the backend

Features

  • Provision a full staging environment from the Admin with a single form
  • Recursive PHP file copy — no rsync or shell tools required
  • Full database clone via streaming PDO cursor — handles large tables without memory issues
  • Automatic sales channel domain URL rewriting after database clone
  • Automatic APP_URL and DATABASE_URL patching in the staging .env
  • Mailer disabled automatically (null://null) to prevent emails to real customers
  • Elasticsearch/OpenSearch disabled automatically in staging
  • AES-256-CBC encryption for stored database passwords
  • Live log viewer in the Admin with per-step timestamps and status icons
  • Auto-polling status updates while provisioning or syncing is running
  • One-click incremental sync to update an existing staging environment
  • Multiple parallel staging environments, each fully isolated
  • Apache .htaccess auto-generated for subdirectory routing
  • nginx configuration example for manual server setup
  • Manual status reset for environments stuck in a crashed running state

About the Extension

The Staging Environment Manager lets you create a fully functional copy of your production shop inside a subdirectory of your existing installation - no second server, no separate hosting, no DevOps overhead. Everything runs directly from the Admin panel using pure PHP and PDO, without any shell commands or server-side tools.


When you provision a staging environment, the plugin copies your files recursively, clones the entire database table by table via a streaming PDO cursor (so even large shops with millions of rows work without memory issues), rewrites all sales channel domain URLs, patches the .env file with the staging database credentials and URL, disables the mailer to prevent accidental emails to real customers, and generates a ready-to-use .htaccess plus an nginx configuration stub.


Once provisioned, you can sync your staging environment at any time with a single click - only changes are applied. The full process is visible in real time through a live log viewer built into the Admin, showing each step with timestamps and status indicators.


Database passwords are stored encrypted at rest using AES-256-CBC with your APP_SECRET as the key. All subdirectory inputs are validated against a strict allowlist and a resolved-path check to prevent path traversal. .env files are locked to 0600 permissions and a PHP guard is injected into public/index.php to block any web access to dot-files regardless of webserver configuration.


Multiple staging environments can exist in parallel, each with its own subdirectory, database, and configuration. Environments stuck in a running state due to a server crash can be manually reset through the Admin. All activity is written to a structured log per environment, accessible at any time.

This plugin only will work properly, if all files are on the same server and the data is in the same database.

Details

  • Available: English, German
  • Latest update: 3 July 2026
  • Publication date: 3 July 2026
  • Version: 2.0.0
  • Category: Administration

Resources

Reviews (0)

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review

About the Extension Partner

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Ø-Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2019
  • Extensions: 45

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly