承接 jupitern/docx 相关项目开发

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

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

jupitern/docx

Composer 安装命令:

composer require jupitern/docx

包简介

docx tools - template engine, merge docx files

README 文档

README

PHP Docx tolls.

  • docx template system
  • merge docx files on one file
  • optionally add page break between merged files

Requirements

PHP 8.3 or higher.

Installation

Pull the package via composer.

composer require jupitern/docx

Usage

// Docx template
$docx = \Jupitern\Docx\Docx::instance()
			->setTemplate('template.docx')
			->setData(['{name}' => 'john doe', '{address}' => 'at the end of the road'])
			->save('result.docx');

// Merge Docx files
$docxMerge = \Jupitern\Docx\DocxMerge::instance()
    // add array of files to merge
	->addFiles(['file1.docx', 'file2.docx'])
    // output filepath and pagebreak param
	->save('result.docx', true);

Contributing

  • welcome to discuss a bugs, features and ideas.

License

jupitern/docx is release under the MIT license.

You are free to use, modify and distribute this software

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固