Skip to content

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

License

Notifications You must be signed in to change notification settings

rakshitbharat/extendeddatabase

Repository files navigation

Extend Database will give more power to already best.

Latest Version on Packagist Build Status Quality Score Total Downloads

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

Installation

You can install the package via composer:

composer require rakshitbharat/extendeddatabase

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. https://datatables.net/manual/server-side

Security

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

About

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

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages