macpaw/similar-arrays
Compare arrays and quantify how similar they are. macpaw/similar-arrays is a small, framework-agnostic PHP utility for scoring overlap between lists—handy for fuzzy matching, spotting near-duplicate data, or ranking results in Laravel and other PHP apps.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| atomescrochus/laravel-string-similarities | 0.79 | 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 | — | |
| rap2hpoutre/similar-text-finder | 0.78 | A lightweight PHP library for finding similar text. Compare strings and get similarity percentages using algorithms like Levenshtein and similar_text, making it easy to build fuzzy search, deduplication, or spell-check suggestions into your Laravel and PHP projects with a simple API. | 140 | 145 | 16 | 620 | 0 | 1.5 | 10.1 | MIT | 7 years ago | |
| edgaras/strsim | 0.78 | edgaras/strsim is a Laravel package for measuring and comparing string similarity. It helps power fuzzy search, typo-tolerant matching, duplicate detection, and suggestions with a simple, expressive API for ranking how alike two strings are. | 30 | 30 | 6 | 9K | 0 | 19.4 | 39.4 | MIT | 3 weeks ago | |
| boulzy/array-comparator | 0.77 | 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 | — | — | — | |
| phlak/splat | 0.76 | Splat is a lightweight PHP library for matching strings against wildcard patterns. It provides simple, expressive helpers for route-style matching, capturing wildcard segments, and filtering paths or values, making it useful for routing, file matching, and other pattern-based tasks. | 105 | — | 5 | — | 0 | 0.7 | — | MIT | 1 year ago |
|
| dskripchenko/php-array-helper | 0.76 | dskripchenko/php-array-helper is a lightweight PHP utility package offering convenient helper functions for common array operations, simplifying access, transformation, filtering, and manipulation so you can write cleaner, more readable code. | 0 | 0 | 0 | 3K | 0 | 15.1 | 55.4 | MIT | 3 months ago | |
| jfcherng/php-sequence-matcher | 0.76 | 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. | 9 | 9 | 4 | 473K | 0 | 10.7 | 59.3 | BSD-3-Clause | 7 months ago | |
| rogervila/array-diff-multidimensional | 0.76 | 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 | |
| composer/pcre | 0.76 | Type-safe wrappers around PHP's preg_* functions that fail loudly instead of returning unexpected nulls. Enforces PREG_UNMATCHED_AS_NULL, simplifies return types for PHPStan and Psalm, and includes a PHPStan extension for better regex analysis. | 720 | 721 | 15 | 22M | 0 | 23.9 | 61.1 | MIT | 4 months ago | |
| mauretto78/array-query | 0.76 | Array Query is a PHP library that lets you query arrays using SQL-like syntax: select, where, order by, group by, limit and joins, with support for nested keys and custom operators. It brings database-style filtering and sorting to plain arrays, making complex data manipulation readable and testable... | 12 | — | 4 | — | 0 | 0.2 | — | MIT | 7 years ago |
|
| andrey-helldar/pretty-array | 0.75 | Pretty Array is a lightweight PHP package for rendering arrays in a clean, readable, colorized format. It simplifies debugging nested data and works with Laravel or standalone PHP projects. | 17 | — | 1 | — | 0 | 0.1 | — | MIT | 1 year ago |
|
| php-standard-library/comparison | 0.75 | Interfaces and functions for type-safe, consistent value comparison in PHP, part of the PHP Standard Library. Provides predictable equality and ordering semantics across values, helping you write reliable, uniform comparison logic in your applications. | 1 | 1 | 0 | 90K | 0 | 21.5 | 64.8 | MIT | 1 week ago |
How can I help you explore Laravel packages today?