Download the PHP package shyim/shopware-profiler without Composer
On this page you can find all versions of the php package shyim/shopware-profiler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package shopware-profiler
Profiling
Profiling for Shopware
Version | Requirements | Availability |
---|---|---|
1.3 | Min. Shopware 5.2, PHP 5.6 | Github & Community Store |
1.4 | Min. Shopware 5.6, PHP 7.2 | Github & Community Store |
Please create Pull Requests to the lowest version
Installation
Zip Installation package for the Shopware Plugin Manager
- Download the latest plugin version (e.g.
FroshProfiler-1.3.6.zip
) - Upload and install plugin using Plugin Manager
Git Version
- Checkout Plugin in
/custom/plugins/FroshProfiler
- Change to Directory and run
composer install
to install the dependencies - Install the Plugin with the Plugin Manager
Install with composer
- Change to your root Installation of shopware
- Run command
composer require frosh/shopware-profiler
and install and active plugin with Plugin Manager
Features
Var Dump Server
Starting with 1.3.0 profiler does also support var dump server from Symfony 4.1.
How to use it?
- Enable var dump server in plugin config
- Open a terminal and run
- Use method in your code and open dump.html in your Browser.
Adding additional stop watch events
``
Go to Performance tab, and your custom events are shown there
JavaScript: StateManager and Event Logging
Will log ...
... PubSub events:
- subscribe (event name)
- unsubscribe (event name)
- publish (event name, arguments)
... Plugin registration:
- addPlugin (plugin name, element, viewports)
- removePlugin (plugin name, element)
- updatePlugin (plugin name, element)
- destroyPlugin (plugin name, element)
... Breakpoint change:
- switchPlugins (previous/current state)
... Plugin initialization:
- initPlugin (plugin name, selector, event handlers)
Filter
You can filter output by ...
- type (available: subscribe, unsubscribe, publish, addPlugin, removePlugin, updatePlugin, destroyPlugin, switchPlugins, initPlugin)
- event name
- plugin name
To set filter use the javascript console and the following functions, corresponding to each filter:
You can pass a single filter criteria as string or an array of multiple filter criterias.
Type criterias need to be exact and valid (see above). Event and plugin name criterias can include part of the name.
To reset filter criterias call the functions without any arguments.
Backend Profiling
Backend Profiling can be enabled in plugin configuration. The Profile link can be retrieved from the Request Response Header "X-Profiler-URL"
Images
All versions of shopware-profiler with dependencies
jdorn/sql-formatter Version ^1.2.17
composer/installers Version ~1.0
symfony/stopwatch Version ^4.3
symfony/var-dumper Version ^4.3
psr/log Version ^1.0