swew/dd

The simplest way to debug variables. As in Laravel.

Maintainers

Details

github.com/swew-app/dd

Source

Issues

Installs: 179

Dependents: 4

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/swew/dd

v1.4.2 2024-01-11 09:55 UTC

This package is auto-updated.

Last update: 2025-09-11 13:58:25 UTC


README

The simplest way to debug variables. As in Laravel.

Packages developed by SWEW

  • swew/cli - A command-line interface program with formatting and text entry functions.
  • swew/test - A test framework that is designed to fix the fatal flaw of other test frameworks.
  • swew/db - A lightweight, fast, and secure PHP library for interacting with databases, creating migrations, and running queries.
  • swew/dd - The simplest way to debug variables. As in Laravel.

swew/dd swew/dd

Installation

composer require swew/dd

Usage

d($v);   // Dump and continue
dd($v);  // Dump and exit
dds($v); // Dump, get short stack trace and exit
ddt($v); // Dump, get full stack trace and exit