red-plug/eloquent-unhydrated

Create fastest queries without leaving the eloquent models

v1.0.0 2025-07-01 00:51 UTC

This package is auto-updated.

Last update: 2025-07-01 00:54:53 UTC


README

Eloquent Unhydrated allows you to retrieve database info without the pain of hydrating every model, the idea originally came from Laravel Crud Wizard Free

Installation

Use the package manager composer to install eloquent-unhydrated.

composer require red-plug/eloquent-unhydrated

Usage

use App\Models\User;

User::getUnhydrated();
User::cursorPaginateUnhydrated();
User::paginateUnhydrated();
User::paginateUsingCursorUnhydrated();
User::simplePaginateUnhydrated();

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT