PHP code example of willypuzzle / vuetify-php
1. Go to this page and download the library: Download willypuzzle/vuetify-php 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/ */
willypuzzle / vuetify-php example snippets
use Idsign\Vuetify\Facades\Datatable;
// Using Eloquent
return Datatable::eloquent(User::query())->make(true);
// Using Query Builder
return Datatable::queryBuilder(DB::table('users'))->make(true);
// Using the Engine Factory
return Datatable::of(User::query())->make(true);
return Datatable::of(DB::table('users'))->make(true);
return Datatable::of(DB::select('select * from users'))->make(true);