2017 © Pedro Peláez
 

library docs

The Pragma Module for handling documents in Pragma Framework

image

pragma-framework/docs

The Pragma Module for handling documents in Pragma Framework

  • Friday, July 6, 2018
  • by cyrilrouyer
  • Repository
  • 2 Watchers
  • 1 Stars
  • 514 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 28 % Grown

The README.md

Pragma Docs

Installation

In composer.json add:, (*1)

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

Configuration

Config.php

Options needed:, (*2)

  • 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., (*3)

PRAGMA_SET_CREATED_UPDATED_BY is a generic method to define created_by & updated_by fields on documents and folders., (*4)

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., (*5)

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 :, (*6)

All OS :

  • pdftotext
  • tesseract
  • drawingtotext (for DXF files)

Not for OSX (textract will use textutil instead) :

  • antiword
  • unrtf

The Versions

06/07 2018

dev-master

9999999-dev

The Pragma Module for handling documents in Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer
by Thomas Metois

framework documents pragma

20/06 2018

1.1.0

1.1.0.0

The Pragma Module for handling documents in Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer
by Thomas Metois

framework documents pragma

29/05 2018

1.0.2

1.0.2.0

The Pragma Module for handling documents in Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer
by Thomas Metois

framework documents pragma

11/12 2017

1.0.1

1.0.1.0

The Pragma Module for handling documents in Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer
by Thomas Metois

framework documents pragma

13/06 2017

1.0.0

1.0.0.0

The Pragma Module for handling documents in Pragma Framework

  Sources   Download

MIT

The Requires

 

by Cyril Rouyer
by Thomas Metois

framework documents pragma