PHPackages                             bmatovu/laravel-query-decorator - 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. bmatovu/laravel-query-decorator

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

bmatovu/laravel-query-decorator
===============================

Laravel query decorator.

v0.0.2(6y ago)2157[1 issues](https://github.com/mtvbrianking/laravel-query-decorator/issues)[1 PRs](https://github.com/mtvbrianking/laravel-query-decorator/pulls)MITPHPPHP &gt;=7.2

Since Jan 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mtvbrianking/laravel-query-decorator)[ Packagist](https://packagist.org/packages/bmatovu/laravel-query-decorator)[ Docs](https://github.com/mtvbrianking/laravel-query-decorator)[ RSS](/packages/bmatovu-laravel-query-decorator/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

Laravel Package Boilerplate.
----------------------------

[](#laravel-package-boilerplate)

[![Build Status](https://camo.githubusercontent.com/72f52b54fbe865ecee8421fcd9c17db53a8964e9f362f320cb9479874c85f4a7/68747470733a2f2f7472617669732d63692e6f72672f6d7476627269616e6b696e672f6c61726176656c2d7061636b6167652d626f696c6572706c6174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mtvbrianking/laravel-package-boilerplate)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/084cbf53bd860173c46a0f2a6362acc6edaaa2fe3eb4da13a83a3aa4382d2cbd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d7476627269616e6b696e672f6c61726176656c2d7061636b6167652d626f696c6572706c6174652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mtvbrianking/laravel-package-boilerplate/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/a7fd7e83cd719452215eb920bf9080c96da9add16e042010c61e9dd30f2cc02b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d7476627269616e6b696e672f6c61726176656c2d7061636b6167652d626f696c6572706c6174652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mtvbrianking/laravel-package-boilerplate/?branch=master)[![StyleCI](https://camo.githubusercontent.com/81c51376b4db2c2d29c153be6beb3ea777c8fd366da43a16e6e9d78350c0ddaf/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3233303630373336382f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/230607368)[![Documentation](https://camo.githubusercontent.com/70c5babcdd071a16af5cf30083ca75172d1117c028397189392c688efcf6f25a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f63756d656e746174696f6e2d426c7565)](https://mtvbrianking.github.io/laravel-package-boilerplate)

### [Installation](https://packagist.org/packages/bmatovu/laravel-package-boilerplate)

[](#installation)

Install via Composer package manager:

```
composer create-project --prefer-source --remove-vcs bmatovu/laravel-package-boilerplate hello-world
```

### Step #1: Own the package

[](#step-1-own-the-package)

Update the `composer.json` file to match your credentials.

Update the namespaces to match those you've set via composer.

```
composer dump-autoload
```

### Step #2: Documentation

[](#step-2-documentation)

You need to download [sami](https://github.com/FriendsOfPHP/Sami) for document generation.

To auto deploy documentation; be sure to add a [`Github token`](https://github.com/settings/tokens) for authorization.

```
curl -O http://get.sensiolabs.org/sami.phar

```

### Step #3: Code Style &amp; Quality

[](#step-3-code-style--quality)

We've added [Style CI](https://styleci.io) configurations with the Laravel present to get you starter.

Also added [Scrutinizer CI](https://scrutinizer-ci.com) configurations for code quality, test coverage inspection.

Locally, you can restort to [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer).

```
php-cs-fixer fix
```

### Step #4: Sharing the package

[](#step-4-sharing-the-package)

You may publish your package via [Packagist](#)

Testing
-------

[](#testing)

We've defaulted to [Orchestra's testbench](https://github.com/orchestral/testbench)

Useful resource
---------------

[](#useful-resource)

- [Laravel Package Development](https://laravel.com/docs/master/packages)
- [Travis CI + GitHub Pages - Automated deployment](https://www.youtube.com/watch?v=BFpSD2eoXUk)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.7% of commits — single point of failure

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 ~1 days

Total

2

Last Release

2319d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0cc99b58d12a288f0fd19099cc3c724ff4df84d978df0e7451b650e8182bc919?d=identicon)[bmatovu](/maintainers/bmatovu)

---

Top Contributors

[![rnambaale](https://avatars.githubusercontent.com/u/7702522?v=4)](https://github.com/rnambaale "rnambaale (13 commits)")[![mtvbrianking](https://avatars.githubusercontent.com/u/5412360?v=4)](https://github.com/mtvbrianking "mtvbrianking (2 commits)")

---

Tags

laravelpackagelumeneloquentqueryfilterdecorator

### Embed Badge

![Health badge](/badges/bmatovu-laravel-query-decorator/health.svg)

```
[![Health](https://phpackages.com/badges/bmatovu-laravel-query-decorator/health.svg)](https://phpackages.com/packages/bmatovu-laravel-query-decorator)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[mehdi-fathi/eloquent-filter

Eloquent Filter adds custom filters automatically to your Eloquent Models in Laravel.It's easy to use and fully dynamic, just with sending the Query Strings to it.

450191.6k1](/packages/mehdi-fathi-eloquent-filter)[jerome/filterable

Streamline dynamic Eloquent query filtering with seamless API request integration and advanced caching strategies.

19226.1k](/packages/jerome-filterable)[mohammad-fouladgar/eloquent-builder

527189.5k](/packages/mohammad-fouladgar-eloquent-builder)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[aldemeery/sieve

A simple, clean and elegant way to filter Eloquent models.

1396.3k](/packages/aldemeery-sieve)

PHPackages © 2026

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