Download the PHP package szczyglis/extended-dump-bundle without Composer

On this page you can find all versions of the php package szczyglis/extended-dump-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package extended-dump-bundle

Release: 1.2.2 | build: 2024.08.26 | PHP: ^7.2.5|^8.0

Supported Versions of Symfony:

4.4+, 5.x, 6.x

Extended Dump Bundle

The Extended Dump Bundle is an extension for the Symfony framework. It enhances the dump function of the framework with new features. It attaches a new dockable window to the application that displays debug information collected from all dumps made using the new method. This centralized view allows quick access to dumped objects, variables, and system-related information. The bundle introduces a new global function, xdump, enabling you to use Extended Dump anywhere in your application code.

How to install

Features

How it works

Appearance After Installation

After installation, a small icon will appear in the lower right corner of the page. Clicking this icon will open the debugger window.

trigger _cornerpng

The debug window is divided into three sections:

divide

The New xdump Global Function

The extension adds a new global function to the framework called xdump. This function allows you to use Extended Dump from anywhere in your code. It works similarly to the standard dump function, but the debugged objects are collectively sent to the Extended Dump window.

Example of use:

Adding the above code anywhere in the application, whether in controllers or services, will include the app section in the debugger and display the dumped object (or objects) there.

Example of use:

Result of the action:

vars

Extension for Twig

You can use Extended Dump in Twig templates thanks to the included Twig extension. To utilize it in a template, simply use the xdump function within the Twig template:

Result of the action:

twig

Extending Extended Dump with EventSubscriber or EventListener

You can enhance the debugger window with your own elements that will be permanently displayed. This allows you to, for example, quickly preview the status of selected objects in the application. To achieve this, create a new EventSubscriber or EventListener and handle the Szczyglis\ExtendedDumpBundle\Event\RenderEvent.

Example of use:

The above code will add a new section to the debugger window, displaying the following elements:

event

You can add multiple items:

Customizing Extended Dump

You can fully customize the window's appearance, CSS, and JS by overriding the templates located in ./src/Resources/views within your own templates directory.

Built-in system components

Request / Response Component

This section displays the current Request and Response objects:

sys_request

Doctrine Component

This section displays a list of all entities used in the application, including the names and types of defined fields, methods from the class of the given Entity, and methods available in the repositories:

sys_doctrine

Request Variables Component

This section displays the contents of $_GET, $_POST, $_SESSION, and $_COOKIE:

sys_vars

User Component

This section displays the object representing the currently logged-in user:

sys_user

Server Component

This section displays useful information about the server, such as the PHP version, the versions of loaded modules, and the contents of $_ENV and $_SERVER:

sys_server

Parameters Component

This section displays the values of all parameters defined in the application:

sys_params

Configuration

In config/packages/extended_dump.yaml, you can define configuration settings and modify how sections are displayed.

The default appearance of extended_dump.yaml:

An example config template is included in the package: ./src/Resources/config/extended_dump.yaml.


Bundle Compatibility

This bundle works with the following versions of the Symfony framework:

Symfony 4.4+:

symfony4

Symfony 5.x:

symfony5

Symfony 6.x:

symfony6


Changelog

1.0.13 - Published first release. (2022-04-25)

1.0.36 - Added support for multiple arguments in xdump(), moved user debug to the bottom of the debugger window, added version info, added counters for dumped items, and some other features. (2022-04-29)

1.1.8 - Added Doctrine entities and repositories debugger, added parameters dumper, increased configuration options, and made other small improvements. (2022-04-29)

1.2.0 - Added session existence check, added Content Security Policy nonce append. (2023-11-05)

1.2.1 - Added style nonce append. (2023-11-21)

1.2.2 - Improved documentation. (2024-08-26)


Extended Dump is free to use, but if you like it, you can support my work by buying me a coffee ;)

https://www.buymeacoffee.com/szczyglis

Enjoy!

MIT License | 2022 Marcin 'szczyglis' Szczygliński

https://github.com/szczyglis-dev/extended-dump-bundle

https://szczyglis.dev

Contact: [email protected]


All versions of extended-dump-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5|^8.0
doctrine/orm Version ^2.11
doctrine/doctrine-bundle Version ^2.5
symfony/config Version ^4.4|^5.0|^6.0
symfony/debug-bundle Version ^4.4|^5.0|^6.0
symfony/dependency-injection Version ^4.4|^5.0|^6.0
symfony/event-dispatcher Version ^4.4|^5.0|^6.0
symfony/http-foundation Version ^4.4|^5.0|^6.0
symfony/http-kernel Version ^4.4|^5.0|^6.0
symfony/security-bundle Version ^4.4|^5.0|^6.0
symfony/twig-bundle Version ^4.4|^5.0|^6.0
symfony/yaml Version ^4.4|^5.0|^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package szczyglis/extended-dump-bundle contains the following files

Loading the files please wait ....