martinmdev/php-debug

PHP Debug functions

1.0.1 2019-10-01 11:49 UTC

This package is auto-updated.

Last update: 2024-10-29 05:52:56 UTC


README

codecov Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Usage

<?php

require __DIR__ . '/../../vendor/autoload.php';

use Martinm\Debug\DebugHelper;

DebugHelper::create()->a('http://example.com/foo/bar');

// prints:
// <a href="http://example.com/foo/bar" target="_blank">http://example.com/foo/bar</a><br />


vd([
    'x' => 1,
]);

// prints:
//  array(1) {
//     'x' =>
//     int(1)
//   }

Installation

composer require martinmdev/php-debug