frosh/tools

Provides some basic things for managing the Shopware Installation

Installs: 396 638

Dependents: 0

Suggesters: 0

Security: 0

Stars: 70

Watchers: 4

Forks: 31

Open Issues: 15

Type:shopware-platform-plugin


README

This plugin contains some utility functions for managing a Shopware 6 shop.

The current feature set consists of:

  • System-Status
    • Checks PHP Version, MySQL, Queue is working etc.
    • Checks for performance optimizations and links documentation
  • Cache Manager
    • Lists App and Http Cache and all folders in var/cache
    • Clear specific caches
    • Compile theme
  • Scheduled Task Manager
    • Shows all Scheduled Tasks and can execute one specific
    • Edit interval and next execution
    • Register Scheduled Tasks
  • Queue Manager
    • Shows the amount of messages in the queue
    • Reset queue
  • Elasticsearch Manager
    • Shows the current status of the Elasticsearch nodes & cluster
    • Lists all indices of the Elasticsearch instance
    • Quick actions for index handling
    • Execute Elasticsearch console commands
  • Log Viewer
    • Shows the entries of /var/log/*.log files
  • Shopware File Checker
    • Checks if core files have been changed
  • State Machine Viewer
    • basic view of order, transaction and delivery states
  • Override system config by config files
    • Overwrite any system config value with static or environment values

Installation

Git

  • Clone this repository into custom/plugins of your Shopware 6 installation
  • Install composer dependencies shopware-cli extension prepare custom/plugins/FroshTools
  • Build the assets with shopware-cli extension build custom/plugins/FroshTools

Packagist

composer require frosh/tools

Store (Bearer token required from packages.shopware.com)

composer require store.shopware.com/froshtools

Commands

frosh:dev:robots-txt - For testshops - add/change robots.txt to stop crawlers

bin/console frosh:dev:robots-txt

frosh:dev:robots-txt -r - For testshops - revert changes in robots.txt

bin/console frosh:dev:robots-txt -r

frosh:composer-plugin:update - update plugins managed by composer

bin/console frosh:composer-plugin:update

frosh:monitor - Monitor your scheduled tasks and queue with this command and get notified via email.

bin/console frosh:monitor <sales-channel-id>

Suppress files from being restorable in FileChecker

# config/packages/frosh_tools.yaml
frosh_tools:
    file_checker:
        exclude_files:
            - vendor/shopware/core/FirstFile.php
            - vendor/shopware/core/SecondFile.php

Screenshots

System Status Cache Manager Scheduled Task Manager Queue Manager Log Viewer File Checker Elasticsearch Manager Feature Flags State Machine Viewer