Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Text Diff Laravel Package

mistralys/text-diff

A PHP library for comparing text and rendering differences. It computes diffs between strings or files and presents changes in HTML or plain text via a flexible API, making it easy to add clear diff views to PHP applications.

Deep Wiki
Context7

mistralys/text-diff is a PHP library for computing and rendering the differences between two texts. It exposes a simple API that returns a structured diff, which can be rendered as HTML with highlighted insertions and deletions or inspected programmatically—useful for revision comparisons, change previews, and audit views in Laravel or any PHP application.

  • Character- and word-level comparison granularity
  • Ready-to-use HTML rendering with highlighted changes
  • Programmatic access to individual diff operations
  • Framework-agnostic, Composer-installable API
  • Handles multi-line text and special characters
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package