code-and-commits/patch-apply

Generate and apply diffs to strings

0.1.0 2020-10-12 18:24 UTC

This package is auto-updated.

Last update: 2025-09-13 06:22:05 UTC


README

Apply diff files to text programmatically

Usage

$patcher = new PatchApply\Patcher();
$output = $patcher->apply($input, $diff);