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(8mo ago)02MITPHPPHP &gt;=8.0

Since Oct 20Pushed 8mo 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

29

—

LowBetter than 57% of packages

Maintenance61

Regular maintenance activity

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

248d ago

Major Versions

v1.0.0 → 2.02025-10-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/195253309?v=4)[ahmed-shareef-ogp](/maintainers/ahmed-shareef-ogp)[@ahmed-shareef-ogp](https://github.com/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

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M306](/packages/laravel-horizon)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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