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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cogpowered/finediff | 0.86 | 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. | 136 | 139 | 28 | 20K | 0 | 1.0 | 21.8 | — | — | |
| jfcherng/php-color-output | 0.84 | Lightweight PHP utility to add ANSI colors and styles to CLI output. Provides named foreground/background styles, special effects (bold, underline, blink, reverse), aliases, and a simple CliColor::color() helper to format strings for terminals. | 14 | 14 | 2 | 410K | 0 | 0.5 | 55.3 | MIT | 5 years ago | |
| aboutcoders/sequence-bundle | 0.83 | 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 | 1 | 0 | 0.1 | 0.9 | MIT | — | |
| loupe/matcher | 0.83 | Loupe Matcher turns search queries and arbitrary text into precise matches: tokenize phrases and negations, normalize locale-specific spelling variants, decompose compound words, calculate match spans, and format results with highlighting, cropping, and truncation. | 10 | 10 | 1 | 50K | 1 | 22.9 | 58.8 | MIT | 3 weeks ago | |
| s9e/regexp-builder | 0.83 | Generate compact regular expressions that match a given list of strings (ideal for keyword search). Builds optimized patterns like ba[rz]|foo from input terms, with factories for PHP, Java, JavaScript, RE2, plus RawBytes/RawUTF8 output modes. | 34 | 35 | 3 | 163K | 0 | 5.1 | 50.7 | MIT | 3 years ago | |
| atomescrochus/laravel-string-similarities | 0.83 | Compare strings in Laravel with a simple facade or helper. Get similarity scores and percentages using similar_text, levenshtein, soundex, metaphone and more, making fuzzy search, deduplication and typo-tolerant matching easy to build. | 69 | — | 19 | — | 0 | 0.9 | — | MIT | — | |
| caxy/php-htmldiff | 0.82 | Compare two HTML snippets/files and generate a marked-up diff highlighting insertions, deletions, and changes. Easy Composer install, simple API (HtmlDiff->build()), configurable behavior and CSS-friendly output; includes a live demo and Symfony bundle option. | 215 | 224 | 57 | 623K | 26 | 20.0 | 57.1 | GPL-2.0 | 1 year ago | |
| squizlabs/php_codesniffer | 0.82 | PHP_CodeSniffer tokenizes PHP files to detect coding standard violations and automatically fix them. It ships two scripts: phpcs for sniffing and phpcbf for auto-correction, keeping code clean and consistent across teams and CI. The official continuation of the Squizlabs package. | 1,567 | 1,739 | 119 | 7M | 174 | 56.6 | 81.9 | BSD-3-Clause | 3 months ago | |
| phpspec/php-diff | 0.82 | phpspec/php-diff is a lightweight PHP library for generating diffs between strings and arrays. It computes insertions, deletions, and changes and can render readable output via formatters, making it useful for tests, code review tooling, and text comparison. | 360 | 381 | 31 | 629K | 0 | 4.6 | 45.5 | — | 6 years ago | |
| friends-of-phpspec/phpspec-code-coverage | 0.82 | PhpSpec extension that generates code coverage reports (console and HTML) for your specs. Works with Xdebug, phpdbg or pcov and supports multiple PhpSpec/PHP versions, helping you see which parts of your codebase are exercised by tests. | 20 | 21 | 14 | 23K | 4 | 7.9 | 44.1 | NOASSERTION | 1 year ago | |
| d4h/finediff | 0.82 | A PHP implementation of the FineDiff algorithm for generating compact, granular diffs between strings. It supports character, word, and line-level comparisons and can render HTML or plain-text output, making it useful for version tracking, wikis, and collaborative editing. | 14 | 15 | 10 | 74K | 3 | 1.2 | 51.6 | MIT | — | |
| swaggest/json-diff | 0.82 | PHP library for comparing and diffing JSON structures. Generate human-readable diffs and apply patches to reconcile documents, helping detect changes between API responses, configs, and data snapshots with support for nested objects and arrays. | 244 | 248 | 33 | 865K | 8 | 13.7 | 51.9 | MIT | 1 year ago | |
| jfcherng/php-diff | 0.82 | jfcherng/php-diff is a comprehensive PHP library for generating diffs between two strings. It provides text renderers (Context, JSON, Unified) and HTML renderers (Combined, Inline, JSON, Side by Side). Install via Composer; requires PHP 8.3+ and ext-iconv. HTML output needs CSS for proper visualizat... | 483 | 487 | 47 | 422K | 5 | 28.3 | 46.8 | BSD-3-Clause | 4 months ago | |
| guava/laravel-sequence | 0.82 | A Laravel package for generating sequential numbers for models, invoices, orders, and other records, with configurable prefixes, formatting, and database-backed, concurrency-safe increments through a simple API. | 0 | 6 | — | 10 | — | 0.3 | 14.4 | — | — | |
| rogervila/array-diff-multidimensional | 0.82 | Compute diffs between multidimensional PHP arrays with support for nested structures. Useful for comparing configs, payloads, and serialized data, returning added/removed/changed values so you can detect what changed and where. | 112 | 114 | 16 | 203K | 0 | 2.9 | 44.9 | — | 1 year ago | |
| lolli42/finediff | 0.82 | 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 | 489K | 0 | 3.3 | 55.6 | MIT | 1 year ago | |
| sarfraznawaz2005/meter | 0.82 | Laravel Meter is a performance monitoring package that gives you a dashboard for key application and server metrics, helping you track resource usage, spot bottlenecks, and keep your Laravel app running smoothly. | 248 | 248 | 24 | 24 | 3 | 3.0 | 0.9 | MIT | 3 years ago | |
| phpcompatibility/php-compatibility | 0.82 | PHPCompatibility is a PHP_CodeSniffer ruleset that scans PHP code for cross-version compatibility issues. Check support for specific PHP versions, detect deprecated/removed features, and audit projects when upgrading or maintaining multi-version support. | 2,311 | 2,314 | 203 | 3M | 89 | 48.2 | 65.3 | LGPL-3.0 | 11 months ago | |
| coduo/php-matcher | 0.81 | 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. | 838 | 843 | 85 | 206K | 5 | 19.6 | 36.2 | MIT | 10 months ago | |
| phparkitect/phparkitect | 0.81 | PHPArkitect lets you define architectural rules for your PHP codebase as plain PHP and verify them in CI, failing when classes break dependency or naming constraints. Reports each violation with class, rule, and reason. | 949 | 925 | 53 | 196K | 27 | 43.8 | 52.3 | MIT | 1 month ago |
How can I help you explore Laravel packages today?