Package Data | |
---|---|
Maintainer Username: | AnourValar |
Package Create Date: | 2020-04-05 |
Package Last Update: | 2024-03-22 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-04-27 03:16:35 |
Package Statistics | |
---|---|
Total Downloads: | 1,540,747 |
Monthly Downloads: | 312,563 |
Daily Downloads: | 13,945 |
Total Stars: | 82 |
Total Watchers: | 2 |
Total Forks: | 7 |
Total Open Issues: | 1 |
Supports Laravel 6+
composer require anourvalar/eloquent-serialize
$package = \EloquentSerialize::serialize(
\App\User::query()
->with('userPhones')
->where('id', '>', '10')
->limit(20)
);
$builder = \EloquentSerialize::unserialize($package);
foreach ($builder->get() as $item) {
// ...
}