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.
License
This project is licensed under the MIT License. Please see the LICENSE file for more information.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-28

