integer-net / magento2-dump-server
N/A
Installs: 166
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.1
- magento/framework: *
- webmozart/assert: ^1.11
Requires (Dev)
- bitexpert/phpstan-magento: ^0.30.1
- ergebnis/composer-normalize: ^2.35
- php-parallel-lint/php-console-highlighter: ^1.0
- php-parallel-lint/php-parallel-lint: ^1.3
- phpro/grumphp-shim: ^2.0
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-strict-rules: ^1.5
- rector/rector: ^0.18.1
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7
- symfony/var-dumper: ^5.4 || ^6.0
- vimeo/psalm: ^5.15
This package is not auto-updated.
Last update: 2024-11-08 13:00:28 UTC
README
This module adds a new command to start a dump-server for use with the symfony var-dumper component to magento 2.
This only works for Http requests to magento. (no cli commands, cronjobs, etc)
Starting the dump server
The dump server can be started using the command bin/magento server:dump
.
There is also the alias bin/magento dump-server
available.
Configuration
The dump-server can be configured in the env.php:
<?php return [ // ... 'dev_dump_server' => [ 'enabled' => true, 'address' => '127.0.0.1:9912', ],
It is also possible to only specify the address instead of an array:
<?php return [ // ... 'dev_dump_server' => '127.0.0.1:9912',
If no configuration is set, the default is enabled = true
and address = 127.0.0.1:9912
.