Package Data | |
---|---|
Maintainer Username: | AnourValar |
Package Create Date: | 2020-04-05 |
Package Last Update: | 2024-03-22 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-05-12 03:16:25 |
Package Statistics | |
---|---|
Total Downloads: | 1,699,301 |
Monthly Downloads: | 308,116 |
Daily Downloads: | 4,202 |
Total Stars: | 83 |
Total Watchers: | 2 |
Total Forks: | 8 |
Total Open Issues: | 0 |
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) {
// ...
}