定制 michaelhall/coredump 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

michaelhall/coredump

最新稳定版本:v2.0.0

Composer 安装命令:

composer require michaelhall/coredump

包简介

Dump a core file with debug information

README 文档

README

Tests StyleCI License Latest Stable Version Total Downloads

Create a core dump file with debug information.

Requirements

  • PHP >= 8.0

Install with composer

$ composer require michaelhall/coredump

Basic usage

<?php

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

use MichaelHall\CoreDump\CoreDump;

// Creates a core dump and add some extra content.
// Superglobals like $_SERVER, $_GET, $_POST etc. are added automatically.
$coreDump = new CoreDump();
$coreDump->add('Foo', 'Bar');

// Outputs the core dump.
echo $coreDump;

// Saves the core dump with an auto-generated file name in the current directory.
// Also returns the file name.
$coreDump->save();

// As above, but saves the core dump in the /tmp-directory.
$coreDump->save('/tmp');

The core dump file

The core dump file contains human-readable debug information from:

  • An optional Throwable passed to the CoreDump constructor.
  • Optional variables added by the add() method.
  • Superglobals like $_SERVER, $_GET, $_POST etc.

License

MIT

统计信息

  • 总下载量: 3.4k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固