changwei/array2text 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

changwei/array2text

Composer 安装命令:

composer require changwei/array2text

包简介

this is a php script, it can convert a php associative array to a text

README 文档

README

convert a php associative array to a text

一个将PHP关联数组转换为文本形式表格的小工具

example

input:

$arr[0]['id'] = 1;
$arr[0]['title'] = '一';
$arr[0]['author'] = 'h';
$arr[1]['id'] = 1997;
$arr[1]['title'] = '一个数组转文本的小工具';
$arr[1]['author'] = '昌维changwei';
$arr[2]['id'] = 333; // 13
$arr[2]['title'] = '三三三'; // 12
$arr[2]['author'] = 'hhh'; // 10

output:

Administrator@changwei MINGW64 /d/www/array2text/example
$ php example.php
+------+------------------------+--------------+
| id   | title                  | author       |
+------+------------------------+--------------+
| 1    | 一                     | h            |
+------+------------------------+--------------+
| 1997 | 一个数组转文本的小工具 | 昌维changwei |
+------+------------------------+--------------+
| 333  | 三三三                 | hhh          |
+------+------------------------+--------------+

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2017-06-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固