jfcherng/php-sequence-matcher
PHP 8.4+ longest sequence matcher inspired by Python difflib. Compare strings or arrays to find matching blocks and similarities for diffing, change detection, and text analysis. Lightweight library extracted from php-diff with improvements.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jfcherng/php-diff | 0.84 | 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. | 474 | 475 | 51 | 208K | 5 | 31.9 | 43.5 | BSD-3-Clause | 2 months ago | |
| lolli42/finediff | 0.83 | Create HTML diffs between two strings with fine-grained character or word comparison. Outputs / markup, escapes HTML entities, supports multibyte strings, and exposes internal opcodes for diff processing. PHP 8.2+ in v1.1. | 13 | 13 | 3 | 291K | 0 | 10.8 | 59.3 | MIT | 7 months ago | |
| cogpowered/finediff | 0.82 | FineDiff (archived; see d4h/php-finediff) is a PHP library for generating and applying fine-grained diffs between strings. Render changes as HTML or text, choose character/word granularity, and work with compact opcode instructions to transform content. | 135 | 139 | 29 | 23K | 0 | 1.0 | 22.2 | — | — | |
| boulzy/array-comparator | 0.82 | Compare PHP arrays with boulzy/array-comparator: detect differences and changes between two arrays, including nested structures. Useful for testing, syncing data, and debugging by quickly showing what was added, removed, or modified. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| aboutcoders/sequence-bundle | 0.80 | Symfony bundle providing an abstract sequence implementation backed by Doctrine ORM. Register the bundle, set abc_sequence db_driver, then fetch the sequence manager service (abc.sequence.sequence_manager) to generate/manage sequences in your app. | 5 | 6 | 2 | 44 | 0 | 0.1 | 12.7 | MIT | — | |
| alexeyshockov/pattern-matcher | 0.79 | Lightweight PHP pattern-matching utility by Alexey Shockov. Helps compare values against defined patterns and execute matching logic, enabling cleaner conditional flows than nested if/switch statements. Suitable for small libraries and framework-agnostic use. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| coduo/php-matcher | 0.79 | Flexible PHP pattern-matching library for testing and validating complex data structures. Compare arrays, JSON and objects against readable expectations, with rich mismatch descriptions to pinpoint differences. Useful for API response assertions and custom validation rules. | 843 | 846 | 85 | 229K | 4 | 18.4 | 1.3 | MIT | 5 months ago |
How can I help you explore Laravel packages today?