https://github.com/studioespresso/craft-dumper
Bringing larapack/dd to your Craft3 website
https://github.com/studioespresso/craft-dumper
Last synced: 8 months ago
JSON representation
Bringing larapack/dd to your Craft3 website
- Host: GitHub
- URL: https://github.com/studioespresso/craft-dumper
- Owner: studioespresso
- License: mit
- Created: 2017-10-08T12:51:15.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2024-02-21T14:48:18.000Z (over 2 years ago)
- Last Synced: 2025-08-14T19:56:20.153Z (10 months ago)
- Language: PHP
- Size: 52.7 KB
- Stars: 21
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Dumper for Craft CMS
Easy dump & "dump&die" functions for Twig.
## Requirements
This plugin works with Craft CMS 3, 4 or 5.
## Installation
To install the plugin, follow these instructions.
1. Open your terminal and go to your Craft project:
cd /path/to/project
2. Then tell Composer to load the plugin:
composer require studioespresso/craft-dumper
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Dumper.
## Using Dumper
When you install the plugin, you'll be able to use `` Symfony\VarDumper`` in your Twig templates like this:
{{ d(entry) }}
Or you can "dump and die"
{{ dd(entry) }}
Works on strings, arrays, object, etc.
###### Brought to you by [Studio Espresso](https://www.studioespresso.co)