webmozart/expression
A lightweight PHP library for building and evaluating expressions as objects. Compose comparisons and logical operators (and, or, not), then evaluate them against values for reusable validation, filtering, and rule logic without hard-coded conditionals.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tpetry/laravel-query-expressions | 0.86 | Add powerful SQL expression support to Laravel’s query builder. Compose reusable, type-safe expressions for functions, casts, JSON ops, windows, and more, with clean syntax and cross-database compatibility—ideal for advanced filtering, sorting, and computed columns. | 357 | 359 | 29 | 118K | 1 | 2.9 | 34.8 | MIT | — | |
| atournayre/assert | 0.85 | — | 0 | 0 | 0 | 13 | 1 | 1.3 | 15.8 | MIT | 3 years ago | |
| nicoswd/php-rule-parser | 0.85 | A lightweight PHP parser for validation-style rule strings, turning expressions like required|max:255 into structured rule objects with names and parameters. Useful for custom validators, form/request tooling, or inspecting Laravel-style rules without a full framework. | 130 | — | 18 | — | 1 | 11.2 | — | MIT | 6 months ago |
|
| kerrialn/static-data-importer-bundle | 0.84 | A Symfony bundle for importing static data into your application. It helps load seed or reference datasets into your database through a simple, configurable workflow, making it easier to keep fixtures and lookup data in sync. A lightweight utility for repetitive data import tasks. | 1 | 1 | 0 | 0 | 1 | 0.4 | — | MIT | 4 years ago | |
| optix/eloquent-draftable | 0.84 | A Laravel package that adds draft and published states to Eloquent models, letting you save work-in-progress records and publish them later. Drafts stay separate from live content, so unfinished entries remain hidden from your application's normal queries until you're ready. | 27 | 27 | 6 | 0 | 0 | 0.4 | — | MIT | 6 years ago | |
| andydefer/domain-structures | 0.84 | A Laravel/PHP package that provides reusable domain structures and building blocks for domain-driven design. It helps organize business logic, reduce boilerplate, and keep core rules isolated from framework and infrastructure concerns for cleaner, more maintainable applications. | 0 | 0 | 0 | 2K | 0 | 0.0 | 46.3 | MIT | — | |
| illuminatech/validation-composite | 0.84 | Illuminatech Validation Composite lets Laravel developers build custom validation rules by composing existing rules into one reusable rule. Define nested rules and messages, keep validation logic modular, and use the result like any standard Laravel validation rule. | 180 | — | 6 | — | 0 | 1.1 | — | NOASSERTION | — | |
| nwidart/laravel-normalizer | 0.84 | A Laravel package for normalizing data into consistent, predictable formats. Define custom normalizers to clean and transform input, making validation and storage simpler across your application. | 12 | — | 2 | — | 0 | 0.4 | — | MIT | 10 years ago | |
| pion/laravel-support-eloquent | 0.84 | pion/laravel-support-eloquent offers reusable Eloquent support tools for Laravel, including helpful model traits and utilities that simplify common database and model tasks. It integrates smoothly with existing models to help you write cleaner, more maintainable application code. | 3 | 3 | 1 | 263 | 0 | 13.7 | 28.2 | MIT | 4 months ago | |
| eloquent-filter/filter | 0.83 | Eloquent Filter adds request-driven filtering to Laravel Eloquent models. Define allowed filters and custom filter classes, then filter queries through query-string parameters, keeping APIs, admin panels, and search endpoints clean, composable, and easy to maintain. | 445 | 447 | 41 | 25 | 7 | 12.3 | 4.3 | MIT | 8 months ago | |
| coderflexx/laravisit | 0.83 | Laravisit is a lightweight Laravel package for tracking website visits without third-party analytics. Log page views, unique visitors, referrers, browsers, devices, and countries, then query Visit models for popular pages and simple reports. Easy middleware setup and customizable tracking. | 433 | — | 25 | — | 0 | 16.1 | 0.4 | MIT | 4 months ago | |
| eghamat24/database-repository | 0.83 | A Laravel package that adds a database repository layer for wrapping Eloquent queries in reusable repository classes. It helps keep models and controllers clean, reduces duplicated query logic, and makes data access more organized, consistent, and testable for common database operations. | 19 | — | 9 | — | 4 | 1.7 | 0.8 | — | 1 year ago | |
| sehrgut/eloquery | 0.83 | eloquery is a small Laravel package that adds convenient helpers for building Eloquent queries, aimed at reducing boilerplate when filtering, sorting, and composing database queries in your models. | 4 | 3 | 2 | 0 | 1 | 0.1 | — | MIT | — | |
| edulazaro/laragents | 0.83 | Laragents brings AI agents to Laravel: define tools, prompts and multi-step workflows through an expressive PHP API, then plug in the LLM provider of your choice. Lightweight, configurable and designed to fit naturally into existing Laravel applications. | 5 | — | 0 | — | 0 | 19.6 | — | MIT | 2 weeks ago | |
| zareismail/markable | 0.83 | Markable is a Laravel package for adding marks such as likes, bookmarks, or favorites to Eloquent models through polymorphic relationships. It provides simple traits and query helpers to attach, remove, and retrieve marks across your application. | 2 | — | 0 | — | 0 | 0.3 | — | MIT | 4 years ago | |
| cocur/vale | 0.83 | 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 | |
| ralphschindler/basic-query-filter | 0.83 | A lightweight Laravel package for applying request-driven filters to Eloquent queries. Map query-string parameters to allowed columns and operators, keeping filtering logic out of controllers and list endpoints predictable and reusable. | 14 | 14 | 2 | 33 | 0 | 0.1 | 7.0 | Unlicense | 9 years ago | |
| 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 | |
| craftcms/laravel-ruleset-validation | 0.83 | Validate Laravel request data against Craft CMS field rulesets. Map Craft-style constraints (required, min/max, regex, etc.) into Laravel’s validator, keeping validation logic consistent between Craft and Laravel apps. | 2 | 2 | 0 | 8K | 0 | 15.4 | 52.8 | MIT | 6 months ago | |
| garlic/graphql-php-tools | 0.83 | Garlic GraphQL PHP Tools provides developer-friendly helpers for webonyx/graphql-php, simplifying schema setup, type definitions, and common GraphQL utilities so PHP developers can build and maintain APIs with less boilerplate. | 1 | 1 | 1 | 0 | 1 | 0.4 | — | — | 7 years ago |
How can I help you explore Laravel packages today?