承接 aaugustyniak/phpexcelhandler 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

aaugustyniak/phpexcelhandler

最新稳定版本:1.0.4

Composer 安装命令:

composer require aaugustyniak/phpexcelhandler

包简介

Handy php-excel wrapper classes

README 文档

README

Build Status

API for simplified PhpExcel navigation and generating reports.

PhpExcelHandler

Right now this stuff works only under *nix systems.

If you want i.e. fill excel template with data and send it to output or save locally it is for you. Navigator classes take PhpExcel cell selection into cartesian like coordinates.

Installation

If you don’t have Composer yet, you should get it now.

  1. Add the package to your composer.json:

     "require": {
       ...
       "aaugustyniak/phpexcelhandler": "1.0.0",
       ...
     }
    
  2. Install:

     $ php composer.phar install
    
  3. And use:

require_once "vendor/autoload.php";

$data = array(
            array("Column1", "Column2", "Column3"),
            array(1001, 2001, 3001),
            array(4001, 5001, 6001),
            array(7001, 8001, 9001),
        );


$phpExcelFactory = new DefaultPhpExcelFactory();
$spreadSheet = new SpreadSheet($phpExcelFactory);

$anchorGuesser = new WriteAnchorGuesser($data);

$writer = new WriteTabularCommand($anchorGuesser);
$spreadSheet->modify($writer);
$outputHtml = $spreadSheet->getHtmlStream();
echo $outputHtml;

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固