PHPackages                             shammaa/laravel-optimized-queries - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. shammaa/laravel-optimized-queries

ActiveLibrary[Database &amp; ORM](/categories/database)

shammaa/laravel-optimized-queries
=================================

Advanced Laravel query optimizer - Reduce multiple Eloquent queries to a single optimized SQL statement with JSON aggregation. Supports nested relations, callbacks, belongsToMany, polymorphic relations, and caching.

v1.5.1(1mo ago)130↓100%MITPHP ^8.1

Since Dec 16Compare

[ Source](https://github.com/shammaa/laravel-optimized-queries)[ Packagist](https://packagist.org/packages/shammaa/laravel-optimized-queries)[ RSS](/packages/shammaa-laravel-optimized-queries/feed)WikiDiscussions Synced today

READMEChangelogDependencies (4)Versions (23)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/shammaa/laravel-optimized-queries).

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance92

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

22

Last Release

41d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/092a8b57ed995393618ee9dbf2055d43060fef84a2c5b4ef4e305bab3ff5b432?d=identicon)[shadishammaa](/maintainers/shadishammaa)

---

Tags

searchlaravelperformanceeloquentoptimizationquery builderfull text searchdatabase-optimizationquery-optimizationperformance-monitoringfast searchjson-aggregationn1-problem

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shammaa-laravel-optimized-queries/health.svg)

```
[![Health](https://phpackages.com/badges/shammaa-laravel-optimized-queries/health.svg)](https://phpackages.com/packages/shammaa-laravel-optimized-queries)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.7M23](/packages/tucker-eric-eloquentfilter)[pmatseykanets/laravel-scout-postgres

PostgreSQL Full Text Search Driver for Laravel Scout

164212.2k2](/packages/pmatseykanets-laravel-scout-postgres)[jedrzej/searchable

Searchable trait for Laravel's Eloquent models - filter your models using request parameters

127256.0k4](/packages/jedrzej-searchable)[sarfraznawaz2005/indexer

Laravel package to monitor SELECT queries and offer best possible INDEX fields.

562.7k](/packages/sarfraznawaz2005-indexer)[korridor/laravel-computed-attributes

Laravel package that adds computed attributes to eloquent models. A computed attribute is an accessor were the computed value is saved in the database.

1234.4k](/packages/korridor-laravel-computed-attributes)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
