swew/dd

The simplest way to debug variables. As in Laravel.

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

This package is auto-updated.

Last update: 2024-12-11 11:53:51 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