diff
Diff implementation
About this project
sebastian/diff Diff implementation for PHP, factored out of PHPUnit into a stand-alone component. Installation You can add this library as a local, per-project dependency to your project using Composer: If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency: Usage Generating diff The Differ class can be used to generate a textual representation of the difference between two strings: The code above yields the output below: The UnifiedDiffOutputBuilder used in the example above generates output in "unified diff" format and is used by PHPUnit, for example. The…
Technologies
Project health
GitHub
Reviews
Built by
Maintain sebastianbergmann/diff? Claiming verifies admin access through your GitHub account and gives you control of this listing.