codemonster-ru/dumper
最新稳定版本:v1.0.0
Composer 安装命令:
composer require codemonster-ru/dumper
包简介
Simple and elegant PHP variable dumper for CLI and web environments
README 文档
README
A simple and elegant PHP variable dumper for both CLI and web environments.
???? Installation
Via Composer:
composer require codemonster-ru/dumper
???? Usage
use Codemonster\Dumper\Dumper; // Automatically detects environment (CLI or HTML) Dumper::dump($value); // Force a specific mode Dumper::dump($value, 'cli'); Dumper::dump($value, 'html');
Dump and Die
If you want to dump a value and immediately stop script execution:
use Codemonster\Dumper\Dumper; // Dump a single value and exit Dumper::dd($user); // Dump multiple values Dumper::dd($request, $response); // Force HTML or CLI mode explicitly Dumper::dd($data, 'html'); Dumper::dd($data, 'cli');
???? Testing
You can run tests with the command:
composer test ???????? Author
???? License
统计信息
- 总下载量: 164
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04