exyplis/eloquent-builder-macros
This Laravel package adds reusable macros to Eloquent’s query builder, making common filtering, ordering, and query-building tasks shorter and more expressive. Keep models and repositories cleaner by replacing repetitive query code with handy, chainable macros.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| h-farm/laravel-excludable | 0.86 | Laravel Excludable adds a lightweight trait to Eloquent models so specific records can be excluded from queries by default and included only when needed. Ideal for hiding archived or inactive rows without soft deletes or custom scopes, keeping filtered results clean and relationships predictable. | 62 | — | 6 | — | 0 | 1.2 | 0.8 | MIT | 2 years ago | |
| sbamtr/laravel-query-enrich | 0.86 | A Laravel package that adds expressive query enrichment helpers, letting you append computed values, relationships, and metadata to Eloquent results cleanly while reducing boilerplate and keeping data shaping close to your queries. | 142 | 142 | 6 | 878 | 1 | 12.9 | 13.0 | MIT | 5 months ago | |
| signifly/laravel-builder-macros | 0.86 | Extend Laravel's query builder with handy macros for common query patterns. signifly/laravel-builder-macros reduces boilerplate and makes database queries cleaner, more expressive, and easier to write. Simple to install and drop into existing Laravel projects. | 29 | 28 | 3 | 34 | 0 | 0.3 | 3.2 | MIT | 2 years ago | |
| aglipanci/laravel-eloquent-case | 0.86 | Add case-insensitive where clauses to Laravel Eloquent. This package provides simple, chainable whereCaseInsensitive and orWhereCaseInsensitive methods so you can query models without worrying about letter case, avoiding raw SQL and keeping your code clean and readable. | 116 | — | 10 | — | 0 | 8.5 | — | MIT | 7 months ago | |
| lastdragon-ru/lara-asp-eloquent | 0.85 | — | 1 | 1 | 0 | 14K | 0 | 0.0 | 53.2 | MIT | — | |
| fico7489/laravel-eloquent-join | 0.85 | Laravel Eloquent Join adds SQL JOIN support to Eloquent models and relationships, letting you sort, filter, and query joined tables directly while keeping familiar query builder syntax. It simplifies complex relationship queries and helps avoid extra queries. | 338 | — | 87 | — | 11 | 7.6 | 4.1 | MIT | 1 year ago |
|
| supportpal/eloquent-model | 0.85 | 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 | |
| mindy/query_builder | 0.85 | mindy/query_builder offers a fluent, Laravel-style PHP API for building SQL queries programmatically, with composable selects, joins, wheres, and bindings to keep database code readable and safe. | 0 | 1 | 1 | 59 | 0 | 0.0 | 24.6 | MIT | 8 years ago | |
| zing/laravel-query-builder | 0.85 | A Laravel package for building cleaner, reusable Eloquent queries with composable filters, sorting, and relationship helpers—keeping controllers and models concise while making complex database queries easier to organize and maintain. | 4 | 4 | 1 | 3 | 1 | 7.7 | 3.0 | MIT | 7 months ago | |
| tpetry/laravel-query-expressions | 0.85 | 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 | — | |
| ceddyg/query-builder-repository | 0.85 | ceddyg/query-builder-repository is a Laravel package that layers a repository abstraction over the fluent query builder, giving you a clean, reusable data layer for your models. It streamlines CRUD, filtering, and query organization so controllers and services stay lean, readable, and testable. | 11 | — | 7 | — | 3 | 1.0 | 0.4 | — | — | |
| beeflow/sqlquerymanager | 0.85 | Simple SQL query manager for PHP/Symfony. Load SQL from files and safely inject parameters using typed placeholders (string, int, secureString, email, etc.), with support for custom vartypes via service tags. Use as a Symfony service or via the SQLQuery class. | 1 | 1 | 0 | 0 | 0 | 0.7 | 0.8 | GPL-2.0 | 9 years ago | |
| saritasa/eloquent-custom | 0.85 | An Eloquent extension for Laravel adding custom casts, attribute handling, and query helpers to simplify complex model logic. | 0 | 0 | 2 | 3 | 1 | 0.1 | 5.9 | MIT | 4 years ago | |
| aimeos/macro | 0.85 | aimeos/macro is a lightweight PHP macro/extension library that lets you add methods at runtime and extend objects and classes without inheritance. Handy for creating fluent APIs, plugin-style features, and flexible customization in Laravel or any PHP project. | 2,438 | 2,435 | 1 | 6K | 0 | 12.2 | 7.5 | MIT | — | |
| lorisleiva/laravel-add-select | 0.85 | Laravel Add Select is a small Laravel package that simplifies appending select columns to existing queries. It provides a fluent helper for adding columns or subqueries to Eloquent and query builder selects without rewriting existing select clauses, making incremental query composition cleaner and m... | 32 | — | 3 | — | 0 | 0.6 | — | MIT | 6 years ago | |
| volosyuk/simple-eloquent | 0.85 | — | 55 | 56 | 10 | 2K | 0 | 1.3 | 21.7 | MIT | 7 years ago | |
| reinink/advanced-eloquent | 0.85 | — | 574 | 578 | 23 | 15K | 1 | 2.1 | 14.0 | — | 7 years ago | |
| mouadziani/laravel-query-inspector | 0.85 | Laravel Query Inspector lets you see the SQL your app actually runs—log queries with bindings, execution time, and where they came from. A lightweight debugging aid for spotting slow, duplicate, or unexpected database calls during development. | 56 | — | 4 | — | 0 | 0.4 | — | MIT | 5 years ago | |
| werxe/laravel-collection-macros | 0.85 | A handy set of macros that extends Laravel Collections with extra methods for common array and data transformations, letting you write cleaner, more expressive pipelines without custom helper functions or repetitive loops. | 26 | — | 2 | — | 0 | 0.6 | — | MIT | 4 years ago | |
| mohammad-fouladgar/eloquent-builder | 0.85 | — | 525 | 526 | 42 | 3K | 0 | 4.2 | 10.9 | MIT | 7 years ago |
How can I help you explore Laravel packages today?