wanfeiyy / laravel-dd by wanfeiyy

use laravel dd replace var_dump
46,101
25
1
Package Data
Maintainer Username: wanfeiyy
Maintainer Contact: w454852895@163.com (wanfeiyy)
Package Create Date: 2016-12-28
Package Last Update: 2019-05-16
Language: PHP
License: MIT
Last Refreshed: 2024-11-24 15:02:50
Package Statistics
Total Downloads: 46,101
Monthly Downloads: 281
Daily Downloads: 0
Total Stars: 25
Total Watchers: 1
Total Forks: 12
Total Open Issues: 1

Dd

使用dd函数代替var_dump当使用非laravel框架时https://packagist.org/packages/wanfeiyy/dd

$arr = ['a'=>'a','b'=>b];
dd($arr);

Installation

With Composer

$ composer require wanfeiyy/dd
{
    "require": {
        "wanfeiyy/dd": "*"
    }
}
<?php
require 'vendor/autoload.php';
$splObjectStorage = new SplObjectStorage();
dd($splObjectStorage);