chaslain/docx-replace

There is no license information available for the latest version (1.1.0) of this package.

Allows you to run simple search and replace operations on docx files

Maintainers

Package info

github.com/AlanHeckinJohnston/docx-replace

Issues

pkg:composer/chaslain/docx-replace

Statistics

Installs: 385

Dependents: 0

Suggesters: 0

Stars: 1

1.1.0 2021-07-09 19:02 UTC

This package is not auto-updated.

Last update: 2026-04-10 17:39:16 UTC


README

To replace text inside a docx, create an instance. The constructor is default.

Call open() and pass in the path of the file.

Then, call replace($search, $replace) as many times as necessary. Note it will only replace the first instance of something.

Call save() to update the docx file.


-- 2021-07-08 20:48 - ajohnston

-- with any questions, email alanjohnston800@gmail.com