PHP code example of rakshitbharat / extendeddatabase
1. Go to this page and download the library: Download rakshitbharat/extendeddatabase library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rakshitbharat / extendeddatabase example snippets
php
echo User::select('*')->where('name','Rakshit')->toSqlWithBindings();
php
echo User::paginateToDatatable();
or
echo User::select('*')->where('name','something')->paginateToDatatable();