PHPackages                             ahmedshareefogp/docx-manager - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. ahmedshareefogp/docx-manager

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

ahmedshareefogp/docx-manager
============================

A PHP library to generate, modify, and manage DOCX files (Laravel-friendly).

2.0(6mo ago)02MITPHPPHP &gt;=8.0

Since Oct 20Pushed 6mo agoCompare

[ Source](https://github.com/ahmed-shareef-ogp/docxmanager)[ Packagist](https://packagist.org/packages/ahmedshareefogp/docx-manager)[ RSS](/packages/ahmedshareefogp-docx-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

🧩 DocxManager

DocxManager is a powerful PHP library for reading, editing, and rebuilding .docx documents — without needing Microsoft Word. It lets you replace placeholders, repeat table rows or sections, tweak text formatting, and handle checkboxes — all while preserving the original document structure and styling.

Version 1.0 🚀 Features

- Smart Placeholder Replacement – Replace tags like v\_first\_name\_v across paragraphs, tables, and lists without breaking formatting.
- Repeating Sections – Duplicate or remove content blocks between markers (e.g., rr\_\_rstart\_\_rr / rr\_\_rend\_\_rr) using array data.
- Run &amp; Font Controls – Modify font size, color, and styles on individual text runs while preserving document structure.
- Paragraph &amp; Spacing Tools – Adjust line height, before/after spacing, and fix RTL indentation in tables or lists.
- Checkbox &amp; Form Handling – Automatically update checkboxes and form fields based on provided data.
- Lightweight &amp; Framework-Agnostic – 100% PHP; works with Laravel, Symfony, or standalone projects.
- Safe DOCX Repackaging – Maintains media, styles, and relationships during file rebuilds.
- Extensible Design – Modular methods for easy customization and future feature expansion.

🧪 Coming Soon (v1.1+)

- Streaming placeholder replacement
- Hybrid Processing Mode – Combines DOM and streaming XML for high performance and low memory use, even on large DOCX files.
- Built-in benchmarking (track option)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance67

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~9 days

Total

2

Last Release

193d ago

Major Versions

v1.0.0 → 2.02025-10-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1b0cb2b58513076bf60278b92e66c1fc9706934873278ce018f6638e90eccf0?d=identicon)[ahmed-shareef-ogp](/maintainers/ahmed-shareef-ogp)

---

Top Contributors

[![pgomv](https://avatars.githubusercontent.com/u/127643591?v=4)](https://github.com/pgomv "pgomv (3 commits)")

### Embed Badge

![Health badge](/badges/ahmedshareefogp-docx-manager/health.svg)

```
[![Health](https://phpackages.com/badges/ahmedshareefogp-docx-manager/health.svg)](https://phpackages.com/packages/ahmedshareefogp-docx-manager)
```

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M711](/packages/maatwebsite-excel)[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M276](/packages/barryvdh-laravel-dompdf)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[elibyy/tcpdf-laravel

tcpdf support for Laravel 6, 7, 8, 9, 10, 11

3542.7M5](/packages/elibyy-tcpdf-laravel)[ismaelw/laratex

A package for creating PDFs in Laravel using LaTeX

12730.1k](/packages/ismaelw-laratex)[rockett/weasyprint

A feature-rich Laravel wrapper for the WeasyPrint Document Factory.

28199.7k](/packages/rockett-weasyprint)

PHPackages © 2026

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