Weave Code
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

Php Diff Laravel Package

jfcherng/php-diff

PHP library to generate diffs between two strings with multiple renderers: unified/context/text, JSON, and rich HTML (inline, side-by-side, combined). Includes helper CSS (or your own) and customizable differ/renderer options. Requires PHP 8.3+ and ext-iconv.

View on GitHub
Deep Wiki
Context7
7.0.0

There is no new feature in this major release. The main focus is to modernize the codebase and improve type safety.

  • The minimum supported PHP version is now 8.3.
  • Introduce DifferOptions value object.
  • Introduce RendererOptions value object.

For migration guide, see https://github.com/jfcherng/php-diff/blob/v7/UPGRADING/UPGRADING_v7.md

6.10.17

Ported changes from 6.16.x:

  • fix: remove debug print
6.16.2
  • fix: remove debug print
6.10.16

Ported changes from 6.16.x:

  • fix: Differ::getStatistics() not working when no difference
6.16.1
  • fix: Differ::getStatistics() not working when no difference
6.10.15

Ported changes from 6.16.x:

6.16.0
  • chore: fix deprecated php-cs-fixer options
  • feat: add new differ option: fullContextIfIdentical (#79)
  • chore: fix typos (#75)
6.15.3
  • chore: add cze (Czech) translation (#74)
6.10.14

Ported changes from 6.15.x:

  • chore: add cze (Czech) translation (#74)
6.10.13

Ported changes from 6.15.x:

  • chore: add nob (Norwegian) translation (#73)
6.15.2
  • chore: add nob (Norwegian) translation (#73)
6.15.1
  • chore: update deps
6.10.12

Ported changes from 6.15.x:

6.10.11

Ported changes from 6.14.x:

6.14.2
6.10.9

Ported changes from 6.14.x:

  • feat: add differ option: ignoreLineEnding
6.14.0
  • feat: add differ option: ignoreLineEnding
6.13.1
  • fix: another way to fix \r shouldn't be visualized like a newline in Combined renderer (#34)
6.10.8

Ported changes from 6.13.x:

6.13.0
6.10.7
  • fix: side-by-side column too narrow (#63)
6.12.1
  • fix: side-by-side column too narrow (#63)
6.10.6

Ported changes from 6.12.x:

  • feat: new rendererOption: spaceToHtmlTag (#60)
  • fix: select the code only (#59)
  • fix: wrong visual tabSize on browser
6.12.0
  • feat: new rendererOption: spaceToHtmlTag (#60)
  • fix: select the code only (#59)
  • fix: wrong visual tabSize on browser
6.10.5

Ported changes from 6.11.x:

  • fix: Combined::renderArray isn't working properly
6.11.6
  • fix: Combined::renderArray isn't working properly
6.10.4
  • chore: update deps (upstream)
6.11.5
  • chore: update deps (upstream)
6.10.3

Ported changes from 6.11.x:

  • chore: update deps
  • chore: add ita (Italian) translation
  • chore: add ukr (Ukraine) translation
  • fix: wrong execution result under php alpine image (#51)
6.11.4
  • chore: add ita (Italian) translation
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.
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium