PHPackages                             rakshitbharat/extendeddatabase - 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. rakshitbharat/extendeddatabase

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

rakshitbharat/extendeddatabase
==============================

Extend Power of Laravel's ORM Eloquent with attaching more methods to it.

1.4(4y ago)12245MITPHP

Since Mar 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rakshitbharat/extendeddatabase)[ Packagist](https://packagist.org/packages/rakshitbharat/extendeddatabase)[ Docs](https://github.com/rakshitbharat/extendeddatabase)[ RSS](/packages/rakshitbharat-extendeddatabase/feed)WikiDiscussions master Synced 2d ago

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

Extend Database will give more power to already best.
=====================================================

[](#extend-database-will-give-more-power-to-already-best)

[![Latest Version on Packagist](https://camo.githubusercontent.com/38acd30bc1851ad598c921aab4ca6f99138cc119654daf967019ea19d7dfd6e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616b736869746268617261742f657874656e64656464617461626173652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rakshitbharat/extendeddatabase)[![Build Status](https://camo.githubusercontent.com/87729d7ab21d286bc0594960415bb5814fa9a0edb6f1c237268f2c7af2482588/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72616b736869746268617261742f657874656e64656464617461626173652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/rakshitbharat/extendeddatabase)[![Quality Score](https://camo.githubusercontent.com/32909dac87069f031082935450caac3df3373763e586912926859ebf79cdde43/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72616b736869746268617261742f657874656e64656464617461626173652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rakshitbharat/extendeddatabase)[![Total Downloads](https://camo.githubusercontent.com/c99eda8d9148607b16cb4aad9faa53e2adeedb913306da6af39c91fa47fa0246/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616b736869746268617261742f657874656e64656464617461626173652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rakshitbharat/extendeddatabase)

Extend Power of Laravel's ORM Eloquent with attaching more methods to it.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require rakshitbharat/extendeddatabase
```

Usage
-----

[](#usage)

```
echo User::select('*')->where('name','Rakshit')->toSqlWithBindings();
```

Output select \* from `users` where `name` = Rakshit

```
echo User::paginateToDatatable();
or
echo User::select('*')->where('name','something')->paginateToDatatable();
```

Excepted output will be more advance pagination options. For more information to pass parameters to this object with Request object read below.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~180 days

Total

5

Last Release

1524d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ea6b70074b3a2219c9a6e211b471f5fddd4c551ed71f3b4a38ef80949a36907?d=identicon)[rakshitbharat](/maintainers/rakshitbharat)

---

Top Contributors

[![rakshitbharat](https://avatars.githubusercontent.com/u/17176729?v=4)](https://github.com/rakshitbharat "rakshitbharat (6 commits)")[![rakshitpatelknowarth](https://avatars.githubusercontent.com/u/66057781?v=4)](https://github.com/rakshitpatelknowarth "rakshitpatelknowarth (6 commits)")

---

Tags

databaseeasylaravelormlaraveldebuggingsqleloquentrakshitbharatextendeddatabase

### Embed Badge

![Health badge](/badges/rakshitbharat-extendeddatabase/health.svg)

```
[![Health](https://phpackages.com/badges/rakshitbharat-extendeddatabase/health.svg)](https://phpackages.com/packages/rakshitbharat-extendeddatabase)
```

###  Alternatives

[rennokki/laravel-eloquent-query-cache

Adding cache on your Laravel Eloquent queries' results is now a breeze.

1.1k4.0M14](/packages/rennokki-laravel-eloquent-query-cache)[sarfraznawaz2005/indexer

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

562.7k](/packages/sarfraznawaz2005-indexer)

PHPackages © 2026

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