PHPackages                             microweber-deps/eloquent-serialize - 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. microweber-deps/eloquent-serialize

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

microweber-deps/eloquent-serialize
==================================

Laravel Query Builder (Eloquent) serialization

1.2.28(1y ago)012.9k↓50%MITPHP

Since Jan 22Pushed 1y agoCompare

[ Source](https://github.com/microweber-deps/eloquent-serialize)[ Packagist](https://packagist.org/packages/microweber-deps/eloquent-serialize)[ Docs](https://github.com/AnourValar/eloquent-serialize)[ RSS](/packages/microweber-deps-eloquent-serialize/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Serialization for Eloquent's QueryBuilder
=========================================

[](#serialization-for-eloquents-querybuilder)

Supports: Laravel 6 - Laravel 11

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

[](#installation)

```
composer require anourvalar/eloquent-serialize
```

Usage
-----

[](#usage)

### Serialize

[](#serialize)

```
$package = \EloquentSerialize::serialize(
    \App\User::query()
        ->with('userPhones')
        ->where('id', '>', '10')
        ->limit(20)
);
```

### Unserialize

[](#unserialize)

```
$builder = \EloquentSerialize::unserialize($package);

foreach ($builder->get() as $item) {
    // ...
}
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance42

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80.4% 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

Unknown

Total

1

Last Release

472d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4dc06e05e127ad3192ef9797ace808069687140538add8e6dbad34ce50bcd1f8?d=identicon)[boksiora](/maintainers/boksiora)

---

Top Contributors

[![AnourValar](https://avatars.githubusercontent.com/u/54237693?v=4)](https://github.com/AnourValar "AnourValar (41 commits)")[![faytekin](https://avatars.githubusercontent.com/u/4013224?v=4)](https://github.com/faytekin "faytekin (5 commits)")[![mokhosh](https://avatars.githubusercontent.com/u/6499685?v=4)](https://github.com/mokhosh "mokhosh (3 commits)")[![peter-mw](https://avatars.githubusercontent.com/u/5698247?v=4)](https://github.com/peter-mw "peter-mw (2 commits)")

---

Tags

laravelserializeeloquentserializationcopyqueuequeryserializablebuilderjobquerybuilderanourvalar

### Embed Badge

![Health badge](/badges/microweber-deps-eloquent-serialize/health.svg)

```
[![Health](https://phpackages.com/badges/microweber-deps-eloquent-serialize/health.svg)](https://phpackages.com/packages/microweber-deps-eloquent-serialize)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[elipzis/laravel-cacheable-model

Automatic query-based model cache for your Laravel app

15546.1k](/packages/elipzis-laravel-cacheable-model)[mpyw/laravel-local-class-scope

A tiny macro that reuse a global scope class as a local scope

24102.6k](/packages/mpyw-laravel-local-class-scope)[sarfraznawaz2005/indexer

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

562.7k](/packages/sarfraznawaz2005-indexer)[bjerke/api-query-builder

A query builder for Laravel that parses the request and uses Eloquent ORM to query database

267.7k1](/packages/bjerke-api-query-builder)[brokerexchange/elasticbuilder

Query Builder for Elasticsearch.

111.1k](/packages/brokerexchange-elasticbuilder)

PHPackages © 2026

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