PHPackages                             pragma-framework/docs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. pragma-framework/docs

ActiveLibrary[Framework](/categories/framework)

pragma-framework/docs
=====================

The Pragma Module for handling documents in Pragma Framework

1.4.1(1y ago)26.1k↓33.3%3MITPHPPHP &gt;=5.3.0

Since Jun 13Pushed 1y ago2 watchersCompare

[ Source](https://github.com/pragma-framework/docs)[ Packagist](https://packagist.org/packages/pragma-framework/docs)[ RSS](/packages/pragma-framework-docs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (3)Versions (18)Used By (0)

Pragma Docs
===========

[](#pragma-docs)

Installation
------------

[](#installation)

In composer.json add:

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

```

Configuration
-------------

[](#configuration)

### Config.php

[](#configphp)

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 &amp; 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 () and several dependencies based on your OS :

#### All OS :

[](#all-os-)

- pdftotext
- tesseract
- drawingtotext (for DXF files)

#### Not for OSX (textract will use textutil instead) :

[](#not-for-osx-textract-will-use-textutil-instead-)

- antiword
- unrtf

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 52.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~162 days

Recently: every ~376 days

Total

17

Last Release

662d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96c7742e8371ca21c3518a55945f737d11d72431c4490bc92958018fa5cbe023?d=identicon)[cyrilrouyer](/maintainers/cyrilrouyer)

---

Top Contributors

[![thomas-netlor](https://avatars.githubusercontent.com/u/4964617?v=4)](https://github.com/thomas-netlor "thomas-netlor (27 commits)")[![Ti-Tom](https://avatars.githubusercontent.com/u/664195?v=4)](https://github.com/Ti-Tom "Ti-Tom (15 commits)")[![cyrilrouyer](https://avatars.githubusercontent.com/u/23081586?v=4)](https://github.com/cyrilrouyer "cyrilrouyer (5 commits)")[![pips-](https://avatars.githubusercontent.com/u/1785712?v=4)](https://github.com/pips- "pips- (4 commits)")

---

Tags

frameworkdocumentspragma

### Embed Badge

![Health badge](/badges/pragma-framework-docs/health.svg)

```
[![Health](https://phpackages.com/badges/pragma-framework-docs/health.svg)](https://phpackages.com/packages/pragma-framework-docs)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
