定制 cgcapps/pretty-print 二次开发

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

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

cgcapps/pretty-print

Composer 安装命令:

composer require cgcapps/pretty-print

包简介

a var dumper with style

README 文档

README

This project includes a PHP class named PrettyPrint that can be used to print data in a visually appealing way. The class has the following methods:

  • print(): Prints the data in a visually appealing way.
  • printAndDie(): Prints the data in a visually appealing way and terminates the script.

To use the PrettyPrint class, you can create an instance of the class and call the print() or printAndDie() method with the data you want to print. The class will format the data and print it in a visually appealing way.

Dependencies

This project does not have any external dependencies.

Installation

You can install this project via Composer by adding the following to your composer.json file:

{
  "require": {
    "cgcapps/pretty-print": "^1.0"
  }
}

Then run composer install.

Usage

To use the PrettyPrint class, you can create an instance of the class and call the print() or printAndDie() method with the data you want to print. For example:

use CGCApps\PrettyPrint;

$pp = new PrettyPrint();
$pp->print($data);
// or
$pp->printAndDie($data);

This will print the data in a visually appealing way.

License

This project is licensed under the MIT License. Please see the LICENSE file for more information.

README

This project includes a PHP class named PrettyPrint that can be used to print data in a visually appealing way. The class has the following methods:

  • print(): Prints the data in a visually appealing way.
  • printAndDie(): Prints the data in a visually appealing way and terminates the script.

To use the PrettyPrint class, you can create an instance of the class and call the print() or printAndDie() method with the data you want to print. The class will format the data and print it in a visually appealing way.

Dependencies

This project does not have any external dependencies.

Installation

You can install this project via Composer by adding the following to your composer.json file:

{
  "require": {
    "cgcapps/pretty-print": "^1.0"
  }
}

Then run composer install.

Usage

To use the PrettyPrint class, you can create an instance of the class and call the print() or printAndDie() method with the data you want to print. For example:

use CGCApps\PrettyPrint;

$pp = new PrettyPrint();
$pp->print($data);

This will print the data in a visually appealing way.

App Screenshot App Screenshot

License

This project is licensed under the MIT License. Please see the LICENSE file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-28