phrity/comparison
Lightweight PHP interfaces and a helper trait for object comparisons. Implement Equalable/Comparable (or just compare() via ComparisonTrait) to get equals/greater/less helpers, plus a Comparator utility for sorting and filtering. Compatible with PHP 7.1+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jedrzej/searchable | 0.87 | — | 125 | 127 | 23 | 3K | 12 | 5.1 | 24.1 | MIT | — | |
| pragmarx/coollection | 0.85 | Coollection repackages Laravel-style collections (via Tightenco\Collect) to let you access items as object properties. Traverse nested arrays/objects with fluent collection methods, then read values like $countries->where('name.common','US')->first()->currency->name. | 94 | 98 | 28 | 23K | 1 | 1.4 | 32.8 | MIT | — | |
| jedrzej/pimpable | 0.85 | — | 104 | 105 | 8 | 2K | 1 | 0.9 | 19.0 | MIT | — | |
| rogervila/array-diff-multidimensional | 0.85 | 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 | |
| nicolaslopezj/searchable | 0.85 | — | 1,992 | 2,020 | 290 | 102K | 103 | 47.7 | 47.2 | MIT | 6 years ago | |
| laraditz/saring | 0.84 | Saring is a simple Eloquent model filtering package for Laravel and Lumen. Add the Filterable trait to models, create per-model filter classes (e.g., UserFilter), optionally whitelist filterable fields, and call Model::filter($request->all()). | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| antares/accessible | 0.84 | — | 12 | 12 | 2 | 0 | 0 | 2.8 | — | MIT | 10 years ago | |
| indexzer0/eloquent-filtering | 0.84 | Eloquent Filtering is a Laravel package for defining allowed filters directly in Eloquent models and applying them via arrays or request data. It simplifies simple and complex search logic, reducing custom query code for readable, maintainable filtering. | 222 | 224 | 8 | 3K | 1 | 11.8 | 18.3 | MIT | 7 months ago | |
| ahmedabdo/searchable | 0.84 | — | 27 | 27 | 4 | 133 | 0 | 0.3 | 10.7 | — | — | |
| turahe/laravel-likeable | 0.84 | Laravel Likeable adds likes and dislikes to any Eloquent model in minutes. Prepare your model, then use built-in methods, scopes, events, and console commands to manage reactions with clean, tested Laravel integration. | 9 | 9 | 3 | 106 | 0 | 14.1 | 16.4 | MIT | 4 months ago | |
| supportpal/eloquent-model | 0.83 | Eloquent-style base Model for PHP/Laravel to build custom, non-database models. Supports accessors/mutators, attribute casting, guarded/fillable and hidden fields, appended attributes, and easy array/JSON conversion. | 0 | 0 | 0 | 911 | 0 | 11.8 | 44.9 | — | 5 months ago | |
| laravellegends/eloquent-filter | 0.83 | — | 39 | 39 | 8 | 742 | 0 | 1.3 | 18.0 | MIT | 4 years ago | |
| zigastrgar/orderable | 0.83 | — | 20 | 20 | 0 | 0 | 0 | 0.4 | — | MIT | 10 years ago | |
| bugloos/query-sorting-bundle | 0.83 | — | 13 | 13 | 1 | 6 | 0 | 2.2 | 2.1 | MIT | 3 years ago | |
| onemustcode/query | 0.83 | — | 4 | 4 | 2 | 624 | 5 | 4.4 | 30.0 | MIT | 8 years ago | |
| phpcollection/phpcollection | 0.83 | PHP Collection provides a flexible, object-oriented collection library for PHP. It offers common collection types and utilities to manage groups of objects consistently, with a clean API and solid documentation. Ideal for domains needing reusable collection abstractions. | 960 | 996 | 49 | 222K | 9 | 10.3 | 36.1 | Apache-2.0 | 4 years ago | |
| raditzfarhan/laravel-sortable | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| spatie/eloquent-sortable | 0.82 | Add sortable behavior to Laravel Eloquent models via a trait. Automatically sets an order column on create (max + 1) and provides a scope to retrieve records in the correct order. Ideal for drag-and-drop lists and custom ordering. | 1,517 | 1,529 | 138 | 2M | 0 | 26.9 | 44.2 | MIT | 8 months ago | |
| stephenjude/default-model-sorting | 0.82 | — | 38 | 38 | 6 | 991 | 0 | 2.5 | 19.6 | MIT | 1 year ago | |
| cocur/vale | 0.82 | cocur/vale is a lightweight PHP value validation library. Define reusable rules to validate strings, numbers, arrays, and objects, and get clear, consistent results without pulling in a full framework—handy for DTOs, APIs, and input sanitization. | 14 | 14 | 1 | 3K | 0 | 0.7 | 32.1 | MIT | 11 years ago |
How can I help you explore Laravel packages today?