pzkpde/t_dump
Composer 安装命令:
composer require pzkpde/t_dump
包简介
Dumping variables directly in Telegram
README 文档
README
Dumping variables directly in Telegram
Installing:
composer require pzkpde/t_dump @dev
Configuring:
You need to specify some variables in the environment (in any way):
-
T_DUMP_CHAT_ID- Your telegram chat ID with your bot -
T_DUMP_TOKEN- Your telegram bot token -
T_LOG_CHAT_ID- Another telegram chat ID with your bot -
T_LOG_TOKEN- Another telegram bot token
or in Laravel's config file app/plugins.php like:
return [
't_dump' => [
'chat_id' => env('T_DUMP_CHAT_ID', 'PUT_CHAT_ID_HERE'),
'token' => env('T_DUMP_TOKEN', 'PUT_TOKEN_HERE'),
],
't_log' => [
'chat_id' => env('T_LOG_CHAT_ID', 'PUT_CHAT_ID_HERE'),
'token' => env('T_LOG_TOKEN', 'PUT_TOKEN_HERE'),
],
];
Using:
t_dump([1,2,3]);t_dump('some_text');t_log('some_text');t_dd('some_text');
etc
License:
Licensed under the MIT License
统计信息
- 总下载量: 14.59k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-04