PHP code example of harmonic / inertia-table
1. Go to this page and download the library: Download harmonic/inertia-table 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/ */
harmonic / inertia-table example snippets
protected $routeMiddleware = [
// ..
'remember' => \Reinink\RememberQueryStrings::class,
];
bash
$ php artisan make:inertiaTable User
php
use harmonic\InertiaTable\InertiaModel;
class user extends InertiaModel {
protected $perPage = 10; // Controlls number of items per page
...
php
Route::inertiaTable('users');