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-11-13 04:25:25 UTC


README

Apply diff files to text programmatically

Usage

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