承接 jasta-fly/phpdfer 相关项目开发

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

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

jasta-fly/phpdfer

最新稳定版本:1.0.0

Composer 安装命令:

composer require jasta-fly/phpdfer

包简介

Library for work with PDF files

README 文档

README

Phpdfer - this library on PHP, for modify metadata in PFD files.

For start work with this library You must create instance of class PHPdfer, and use method changeMetadata() for modify metadata in PDF files. This method accepts three arguments:

  1. $pdf - path to PDF file in which You need change metadata;
  2. $arMetadata - array with metadata in which need include in PDF file;
  3. $logMode - enables the mode in which the output of the CLI command is saved to a log file.

$arMetadata can contained next elements:

  • TITLE - title PDF file;
  • AUTHOR - author of the PDF file;
  • SUBJECT - short description content PDF file;
  • KEYWORDS - keywords describing content PDF file;
  • MOD_DATE - date modification PDF file;
  • CREATION_DATE - date creation PDF file;
  • CREATOR - creator PDF file.

After end work library will create new PDF file with prefix phpdfer_, when into it will change metadata specified in $arMetadata.

Installation

composer require jasta-fly/phpdfer

Warning!

For work this library need install Ghostscript in You operating system. You can check is this program installed, running this command in CLI:

gs -v

if in response You get version installed Ghostscrip version:

GPL Ghostscript 9.55.0 (2021-09-27)
Copyright (C) 2021 Artifex Software, Inc.  All rights reserved.

this means that the program necessary for the library to work is installed, and You may continue use it. If you get next output:

gs: not found

this means that You must install Ghostscrip in Your operating system, before continue work.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固