alexanderthegreat96/debugger-utility-alpha

Typo3 调试器工具 Var Dumper 的端口,适用于每个项目

1.0.6 2023-01-26 00:57 UTC

This package is not auto-updated.

Last update: 2024-10-03 08:27:36 UTC


README

TYPO3 DebuggerUtility::var_dump() 无依赖且在 Typo3 外部运行。此版本兼容 PHP 8.0+ 以及几乎任何平台

安装

使用 composer 安装

  composer require alexanderthegreat96/debugger-utility-alpha

用法/示例

<?php
require "vendor/autoload.php";

$cars = array (
  array("Volvo",22,18),
  array("BMW",15,13),
  array("Saab",5,2),
  array("Land Rover",17,15)
);

debugger_utility($cars, 'This is my cars Array');

<?php
use Alexanderthegreat96\DebuggerUtilityAlpha;
require "vendor/autoload.php"

$cars = array (
  array("Volvo",22,18),
  array("BMW",15,13),
  array("Saab",5,2),
  array("Land Rover",17,15)
);

DebuggerUtility::var_dump($cars, 'This is my cars Array');