PHPackages                             dennishei/smoxy-shopware - 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. [Caching](/categories/caching)
4. /
5. dennishei/smoxy-shopware

ActiveShopware-platform-plugin[Caching](/categories/caching)

dennishei/smoxy-shopware
========================

SMOXY Plugin

0.1.0(9mo ago)05[1 issues](https://github.com/dennishei/smoxy-shopware-plugin/issues)MITJavaScriptPHP &gt;=8.1

Since Jul 18Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/dennishei/smoxy-shopware-plugin)[ Packagist](https://packagist.org/packages/dennishei/smoxy-shopware)[ Docs](https://github.com/dennishei/smoxy-shopware-plugin)[ RSS](/packages/dennishei-smoxy-shopware/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (5)Used By (0)

SMOXY Shopware Plugin
=====================

[](#smoxy-shopware-plugin)

[English Version](#english-version) | [Deutsche Version](#deutsche-version)

---

Deutsche Version
----------------

[](#deutsche-version)

Ein Shopware 6.7 Plugin, das das Account-Widget-Dropdown von server-seitigem Rendering auf AJAX-basiertes Laden umstellt für bessere Caching-Performance. Das Plugin ermöglicht vollständiges Page-Caching des Account-Widgets, da alle benutzerspezifischen Daten dynamisch geladen werden.

### Features

[](#features)

- **AJAX-basiertes Laden**: Konvertiert das Account-Overlay von Template-basiert zu AJAX-Anfragen
- **Identische Darstellung**: 1:1 Nachbildung des originalen Account-Menüs inkl. Avatar-Icon
- **Dynamischer Content**: Benutzername und Menu-Inhalte werden vollständig dynamisch geladen
- **Vollständiges Page-Caching**: Ermöglicht Caching des gesamten Account-Widgets ohne benutzerspezifische Daten
- **Intelligentes Caching**: Client-seitiges Caching mit konfigurierbarem Timeout
- **Flexible Interaktionen**: Konfigurierbare Hover- und Click-Interaktionen
- **Performance-optimiert**: Maximale Cache-Effizienz durch Trennung von statischen und dynamischen Inhalten
- **Admin-Interface**: Vollständige Konfiguration über Shopware Administration

### Installation

[](#installation)

1. Plugin in `custom/plugins/Smoxy/` platzieren
2. Plugin installieren: `bin/console plugin:install Smoxy`
3. Plugin aktivieren: `bin/console plugin:activate Smoxy`
4. Cache leeren: `bin/console cache:clear`
5. Theme kompilieren: `bin/console theme:compile`

### Konfiguration

[](#konfiguration)

Das Plugin kann über die Shopware Administration konfiguriert werden:

**Settings → System → Plugins → SMOXY Account Overlay → Konfiguration**

#### Verfügbare Einstellungen:

[](#verfügbare-einstellungen)

- **Caching aktivieren**: Ein/Aus-Schalter für das Client-seitige Caching
- **Cache-Timeout**: Dauer in Sekunden (0-3600), wie lange das Overlay gecacht wird
- **Laden beim Hover**: Aktiviert das Laden beim Hover über das Account-Icon
- **Laden beim Klick**: Aktiviert das Laden beim Klick auf das Account-Icon

### Technische Details

[](#technische-details)

#### API Endpoints

[](#api-endpoints)

- **Overlay-Daten**: `GET /account/overlay` - Liefert Account-Menu-Daten als JSON
- **Konfiguration**: `GET /account/overlay/config` - Liefert Plugin-Konfiguration als JSON

#### API Response

[](#api-response)

**Für Gast-Benutzer:**

```
{
  "isLoggedIn": false,
  "links": {
    "login": "/account/login",
    "register": "/account/login"
  },
  "config": {
    "enableCaching": true,
    "cacheTimeout": 300,
    "loadOnHover": false,
    "loadOnClick": true
  }
}
```

**Für eingeloggte Benutzer:**

```
{
  "isLoggedIn": true,
  "customerName": "Dennis",
  "customerEmail": "dennis@example.com",
  "links": {
    "overview": "/account",
    "profile": "/account/profile",
    "addresses": "/account/address",
    "orders": "/account/order",
    "logout": "/account/logout"
  },
  "config": {
    "enableCaching": true,
    "cacheTimeout": 300,
    "loadOnHover": false,
    "loadOnClick": true
  }
}
```

#### Architektur

[](#architektur)

- **Controller**: `AccountOverlayController` - Liefert JSON-Response basierend auf Login-Status
- **JavaScript Plugin**: `AccountOverlayPlugin` - Verwaltet Interaktionen und AJAX-Loading
- **Template Override**: Erweitert das originale Account-Widget-Template ohne benutzerspezifische Daten
- **Route-Konfiguration**: AJAX-Endpoints für Overlay-Daten und Konfiguration
- **System-Konfiguration**: Admin-Interface für Plugin-Einstellungen
- **Dynamische Inhalte**: Benutzername wird via AJAX in den Button geladen

### Kompatibilität

[](#kompatibilität)

- **Shopware Version**: 6.7.0.1+
- **PHP Version**: 8.1+
- **Browser-Unterstützung**: Alle modernen Browser mit fetch() API

### Support

[](#support)

- **Version**: 1.0.0
- **Autor**: SMOXY
- **Lizenz**: Proprietär

---

English Version
---------------

[](#english-version)

A Shopware 6.7 plugin that converts the account widget dropdown from server-side rendering to AJAX-based loading for better caching performance. The plugin enables full page caching of the account widget by dynamically loading all user-specific data.

### Features

[](#features-1)

- **AJAX-based Loading**: Converts the account overlay from template-based to AJAX requests
- **Identical Appearance**: 1:1 recreation of the original account menu including avatar icon
- **Dynamic Content**: Username and menu contents are fully dynamically loaded
- **Full Page Caching**: Enables caching of the entire account widget without user-specific data
- **Smart Caching**: Client-side caching with configurable timeout
- **Flexible Interactions**: Configurable hover and click interactions
- **Performance Optimized**: Maximum cache efficiency through separation of static and dynamic content
- **Admin Interface**: Complete configuration via Shopware Administration

### Installation

[](#installation-1)

1. Place plugin in `custom/plugins/Smoxy/`
2. Install plugin: `bin/console plugin:install Smoxy`
3. Activate plugin: `bin/console plugin:activate Smoxy`
4. Clear cache: `bin/console cache:clear`
5. Compile theme: `bin/console theme:compile`

### Configuration

[](#configuration)

The plugin can be configured via Shopware Administration:

**Settings → System → Plugins → SMOXY Account Overlay → Configuration**

#### Available Settings:

[](#available-settings)

- **Enable Caching**: Toggle for client-side caching
- **Cache Timeout**: Duration in seconds (0-3600) how long the overlay is cached
- **Load on Hover**: Enables loading when hovering over the account icon
- **Load on Click**: Enables loading when clicking on the account icon

### Technical Details

[](#technical-details)

#### API Endpoints

[](#api-endpoints-1)

- **Overlay Data**: `GET /account/overlay` - Returns account menu data as JSON
- **Configuration**: `GET /account/overlay/config` - Returns plugin configuration as JSON

#### API Response

[](#api-response-1)

**For Guest Users:**

```
{
  "isLoggedIn": false,
  "links": {
    "login": "/account/login",
    "register": "/account/login"
  },
  "config": {
    "enableCaching": true,
    "cacheTimeout": 300,
    "loadOnHover": false,
    "loadOnClick": true
  }
}
```

**For Logged-in Users:**

```
{
  "isLoggedIn": true,
  "customerName": "Dennis",
  "customerEmail": "dennis@example.com",
  "links": {
    "overview": "/account",
    "profile": "/account/profile",
    "addresses": "/account/address",
    "orders": "/account/order",
    "logout": "/account/logout"
  },
  "config": {
    "enableCaching": true,
    "cacheTimeout": 300,
    "loadOnHover": false,
    "loadOnClick": true
  }
}
```

#### Architecture

[](#architecture)

- **Controller**: `AccountOverlayController` - Provides JSON response based on login status
- **JavaScript Plugin**: `AccountOverlayPlugin` - Manages interactions and AJAX loading
- **Template Override**: Extends the original account widget template without user-specific data
- **Route Configuration**: AJAX endpoints for overlay data and configuration
- **System Configuration**: Admin interface for plugin settings
- **Dynamic Content**: Username is loaded via AJAX into the button

### Compatibility

[](#compatibility)

- **Shopware Version**: 6.7.0.1+
- **PHP Version**: 8.1+
- **Browser Support**: All modern browsers with fetch() API

### Support

[](#support-1)

- **Version**: 1.0.0
- **Author**: SMOXY
- **License**: MIT

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance55

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

4

Last Release

297d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00b194a9ca94a2dd32a2637869f484933c0446412617481fe09930b91e1974fe?d=identicon)[dennishei](/maintainers/dennishei)

---

Tags

performanceshopwarecachingsmoxy

### Embed Badge

![Health badge](/badges/dennishei-smoxy-shopware/health.svg)

```
[![Health](https://phpackages.com/badges/dennishei-smoxy-shopware/health.svg)](https://phpackages.com/packages/dennishei-smoxy-shopware)
```

###  Alternatives

[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

153471.5k29](/packages/putyourlightson-craft-blitz)[silverstripe/staticpublishqueue

Static publishing queue to create static versions of pages for enhanced performance and security

45135.4k4](/packages/silverstripe-staticpublishqueue)[maartenstaa/laravel-41-route-caching

This package allows you to cache your routes definitions, thereby speeding up each request.

25371.9k](/packages/maartenstaa-laravel-41-route-caching)[alekseykorzun/memcached-wrapper-php

Optimized PHP 5 wrapper for Memcached extension that supports dog-piling, igbinary and local storage

2984.6k1](/packages/alekseykorzun-memcached-wrapper-php)[tractorcow/silverstripe-dynamiccache

FORK OF Silverstripe module for simple on the fly caching of dynamic content

3916.0k2](/packages/tractorcow-silverstripe-dynamiccache)

PHPackages © 2026

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