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: 2024-04-13 02:57:43 UTC


README

Apply diff files to text programmatically

Usage

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