Weave 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

Pattern Matcher Laravel Package

alexeyshockov/pattern-matcher

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
php-standard-library/fun 0.84 Functional programming utilities for PHP: compose and decorate functions, control execution, and build pipelines with small, reusable higher-order helpers. 1 1 0 28K 0 21.6 64.9 MIT 1 week ago
View on GitHub
maartenpaauw/laravel-specification-pattern 0.83 A Laravel package for the specification pattern, letting you encapsulate business rules into reusable, composable specifications and apply them to Eloquent queries or collections for cleaner, testable domain logic. 15 — 1 — 0 8.7 — MIT 7 months ago
View on GitHub
rikbruil/specification 0.83 Implements the Specification pattern for Laravel, letting you encapsulate query constraints and business rules as reusable, composable classes. Combine specifications with and/or/not operators and apply them directly to Eloquent queries for cleaner, testable filtering logic. 18 — 3 — 0 0.2 — MIT —
php-standard-library/type 0.82 Runtime type validation for PHP built on the Parse, Don't Validate principle: coerce and assert unstructured input into well-typed data, with clear errors when values don't match. 1 1 0 114K 0 21.4 64.8 MIT 1 week ago
View on GitHub
respect/stringifier 0.82 Respect\Stringifier converts any PHP value into a readable string for logging, debugging, and error messages. Use the stringify() function or the HandlerStringifier object. Secure-by-default handling of strings in newer versions. Requires PHP 8.3+. 26 27 2 1M 0 11.6 60.2 MIT 5 months ago
View on GitHub
phphd/exceptional-validation 0.82 Exceptional Validation brings exception-driven validation to Laravel, letting you express validation failures as exceptions handled by Laravel’s exception pipeline. Keep controllers, form requests, and domain code clean with reusable validation logic. 4 — 1 — 15 18.6 5.9 NOASSERTION 3 months ago
View on GitHub
rector/type-perfect 0.82 Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. 105 105 7 403K 0 10.5 43.6 MIT 3 months ago
View on GitHub
Context7
r0073rr0r/skritphp 0.81 SkritPHP is a lightweight PHP package for writing, organizing, and running reusable scripts with a clean, expressive API. It integrates smoothly with Laravel and standalone PHP projects with minimal setup, helping you automate tasks, simplify workflows, and keep script logic maintainable. 1 — 0 — 0 9.8 — GPL-3.0 6 months ago
View on GitHub
lolli42/finediff 0.81 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
View on GitHub
cleentfaar/decorator 0.81 Laravel/PHP decorator helper to wrap classes and add behavior without modifying the original. Provides a lightweight Decorator pattern implementation for cleaner, composable enhancements and feature extensions in your application. 0 0 0 0 0 1.5 — MIT 12 years ago
View on GitHub
Context7
phpyh/coding-standard 0.81 PHPyh Coding Standard provides a ready-to-use PHP CS Fixer configuration for consistent formatting across your project. Install via Composer and apply the PhpCsFixerCodingStandard to your .php-cs-fixer.dist.php, with support for overriding rules. 23 23 0 2K 1 7.9 27.6 MIT 1 year ago
View on GitHub
Context7
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
View on GitHub
atomescrochus/laravel-string-similarities 0.81 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 —
View on GitHub
michael-rubel/laravel-formatters 0.81 Laravel Formatters provides a clean, extensible set of formatter classes for common tasks like money, phone numbers, names, dates, and more. Formatters auto-resolve through the container and support method chaining, making consistent formatting simple throughout your app. 94 94 7 416 0 1.2 10.1 MIT 1 year ago
View on GitHub
oleg-andreyev/mink-phpwebdriver-extension 0.81 — 1 1 2 32K 1 0.2 55.2 MIT —
View on GitHub
s9e/regexp-builder 0.81 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
View on GitHub
lstrojny/functional-php 0.80 Functional PHP adds a rich set of functional programming helpers for PHP: map/filter/reduce, partial application, currying, composition, and collections utilities. Write cleaner, more declarative code without changing your framework or coding style. 1,982 1,996 201 60K 8 27.8 27.5 MIT 7 months ago
View on GitHub
Context7
php-standard-library/regex 0.80 Type-safe regex for PHP with typed capture groups and predictable error handling. Build expressions with confidence, get structured match results, and avoid silent failures common in preg_* functions. Part of PHP Standard Library. 1 1 0 100K 0 21.5 64.9 MIT 1 week ago
View on GitHub
edgaras/strsim 0.80 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
View on GitHub
alexeyshockov/colada 0.80 — 31 32 6 0 0 0.2 — MIT —
View on GitHub
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.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator