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

Laravel Relational Metrics Laravel Package

syrian-open-source/laravel-relational-metrics

A Laravel package for calculating relational metrics from Eloquent models, letting you define and query counts, sums, averages, and other aggregates for dashboards, reports, and insights with clean, reusable code.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
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
View on GitHub
laracraft-tech/laravel-date-scopes 0.85 Laravel Date Scopes adds a wide range of ready-made date scopes to your Eloquent models via a simple trait. Query records with ofToday(), ofLastWeek(), monthToDate(), ofLastYear(), and many more—fully chainable with any builder method like sum or avg. 513 514 31 15K 0 16.6 21.8 MIT 7 months ago
View on GitHub
Context7
eghamat24/database-repository 0.85 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
View on GitHub
spatie/laravel-stats 0.85 Lightweight Laravel package that summarizes database changes over time. Define a stats class, call increase() or decrease() as events happen, then query totals grouped by day, week, or month, returning increments, decrements, and net differences for each period. 451 454 35 17K 0 16.2 23.7 MIT 6 months ago
View on GitHub
lacodix/laravel-metric-cards 0.85 WIP Laravel package for rendering metric cards with Chart.js. Ships a pre-built browser bundle (metrics.js) you can publish; no Chart.js install needed. Configure chart defaults, palette, and Colors plugin via config/metric-cards.php. 1 1 0 125 0 26.3 29.1 MIT 1 month ago
View on GitHub
zareismail/markable 0.84 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
View on GitHub
protonemedia/laravel-eloquent-scope-as-select 0.84 Laravel Eloquent Scope as Select lets you add local scopes as select subqueries, so aggregated or computed values from related models come back in a single query. Skip extra database hits and N+1 problems while keeping your models clean and readable. 142 142 9 17K 0 7.2 30.0 MIT 8 months ago
View on GitHub
eliseekn/laravel-metrics 0.84 Generate metrics and trends from your Laravel models for dashboards. Group counts and sums by day, month, or year, set custom date/label columns and tables, use date ranges, and query via Eloquent or the query builder. Supports MySQL, PostgreSQL, and SQLite. 138 138 8 825 0 22.0 12.8 MIT 4 months ago
View on GitHub
romanzipp/laravel-projectable-aggregates 0.84 Laravel package for projecting aggregate values such as counts, sums, and averages from related Eloquent models onto a parent model. Define projections declaratively and keep denormalized columns in sync automatically, avoiding repeated aggregate queries and simplifying reporting. 13 13 0 119 0 0.1 13.5 MIT —
View on GitHub
orkhanahmadov/eloquent-repository 0.84 — 27 27 11 226 2 2.3 14.0 MIT 4 years ago
View on GitHub
beyondcode/laravel-scope-checks 0.84 Laravel Scope Checks offers simple helpers for verifying that an Eloquent model has a given query scope before you apply it. It helps keep dynamic query building safe and predictable, with readable checks that are easy to use and test. 77 78 3 0 1 0.4 — MIT 6 years ago
View on GitHub
msafadi/laravel-eloquent-join-with 0.84 — 166 166 6 25 2 3.8 0.9 MIT 11 months ago
View on GitHub
kobykorman/eloquentify 0.84 Eloquentify turns one custom SQL query with JSON-aggregated relations into fully hydrated nested Eloquent models, collapsing N+1 and R+1 round trips into a single query with zero configuration. 20 20 0 457 0 13.6 20.7 MIT 4 months ago
View on GitHub
sajadsdi/laravel-repository 0.84 Laravel repository pattern package to structure data access in your apps. Provides base repository classes, common CRUD methods, and an easy way to keep queries and persistence logic out of controllers and services for cleaner, testable code. 46 46 4 1 0 3.4 0.1 MIT 2 years ago
View on GitHub
michael-rubel/laravel-sql-function-repository 0.83 A lightweight Laravel package that brings the repository pattern to SQL functions, letting you call database functions and stored procedures through clean, testable classes with bound parameters instead of scattered raw queries. 7 7 1 0 0 0.2 — MIT 3 years ago
View on GitHub
minionfactory/raw-hydrator 0.83 Raw Hydrator is a small PHP package for turning raw data (arrays/records) into hydrated objects with minimal overhead. Useful for fast mapping of database results or API payloads into DTOs/entities without a full ORM. 1 1 0 4K 0 0.0 45.3 MIT —
View on GitHub
lastdragon-ru/lara-asp-eloquent 0.83 — 1 1 0 14K 0 0.0 53.2 MIT —
View on GitHub
fico7489/laravel-eloquent-join 0.83 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
reedware/laravel-composite-relations 0.83 Adds composite foreign key support to Eloquent relationships. Define Belongs To, Has One, and Has Many relations using multiple columns, with full eager loading and "where has" query support through a simple trait on your base model. 22 22 8 9K 0 16.7 40.0 MIT 4 months ago
View on GitHub
laraditz/saring 0.83 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 —
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource