定制 pragma-framework/docs 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

pragma-framework/docs

最新稳定版本:1.4.1

Composer 安装命令:

composer require pragma-framework/docs

包简介

The Pragma Module for handling documents in Pragma Framework

README 文档

README

Installation

In composer.json add:

require {"pragma-framework/docs": "dev-master"}

Configuration

Config.php

Options needed:

  • DB_HOST (default 'localhost')
  • DB_NAME
  • DB_USER (default 'root')
  • DB_PASSWORD
  • DB_PREFIX (default 'pragma_')
  • DOC_STORE (default 'data/')
  • EXTRA_PATH (default empty)

DOC_STORE directory need read/write access for www-data.

PRAGMA_SET_CREATED_UPDATED_BY is a generic method to define created_by & updated_by fields on documents and folders.

EXTRA_PATH is used in the Document::extract_text method. This method allows you to get the text content of a document and requires textract tool on the server. EXTRA_PATH is helpfull when the PATH accessible by PHP does not contain the directory where textract is.

As you already know, this functionnality requires the textract tool on the server (https://github.com/dbashford/textract) and several dependencies based on your OS :

All OS :

  • pdftotext
  • tesseract
  • drawingtotext (for DXF files)

Not for OSX (textract will use textutil instead) :

  • antiword
  • unrtf

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-03-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固