jfcherng/php-diff (packagist): A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc).
Keywords: diff|udiff|unified diff|unidiff|hacktoberfest|psr-1|psr-12|psr-4