Extend Power of Laravel's ORM Eloquent with attaching more methods to it.
You can install the package via composer:
composer require rakshitbharat/extendeddatabaseecho 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
If you discover any security related issues, please email rakshitbharatproject@gmail.com instead of using the issue tracker.