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

Installs: 356

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

pkg:composer/chaslain/docx-replace

1.1.0 2021-07-09 19:02 UTC

This package is not auto-updated.

Last update: 2025-12-19 16:14:00 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