🍟 A headles datatable with inertiajs

Overview

Package Logo

GitHub last commit GitHub cs fixer GitHub last commit GitHub issues Packagist Version

INSTALATION

composer require rizkhal/inertable

USAGE

php artisan make:inertable UserTable


declare(strict_types=1);

namespace App\Inertable;

use App\Models\User;
use Rizkhal\Inertable\Column;
use Illuminate\Support\Carbon;
use Rizkhal\Inertable\Inertable;
use Illuminate\Database\Eloquent\Builder;

class UserTable extends Inertable
{
    public function query(): Builder
    {
        return User::query();
    }

    public function columns(): array
    {
        return [
            Column::checkbox(),
            Column::make(__('Name'), 'name')->sortable()->searchable(),
            Column::make(__('Email'), 'email')->sortable()->searchable(),
            Column::make(__('Verified'), 'email_verified_at')->sortable()->searchable()->format(fn (Carbon $value): string => $value->format('d/m/Y')),
            Column::make(__('status'), 'status')->sortable()->searchable(),
            Column::action(),
        ];
    }
}
You might also like...
This package adds artisan commands to create VueJS components and InertiaJS components.
This package adds artisan commands to create VueJS components and InertiaJS components.

Laravel Vue Commands This package adds artisan commands to create VueJS components and InertiaJS components. Installation You can install the package

Hassle-free Laravel + Inertiajs + Svelte + TailwindCSS Boilerplate
Hassle-free Laravel + Inertiajs + Svelte + TailwindCSS Boilerplate

Hassle-free Laravel + Inertiajs + Svelte + TailwindCSS Boilerplate

Laravel, react, and inertiajs for LevelUp Feel-IT 2021

How To Install hehe Clone the repository: Create your environment file: cp .env.example .env The app key is used to salt passwords. If you need to wor

Gerenciador de módulos para Laravel/InertiaJs + Vuejs

Neewton Neewton é um gerenciador de módulos para uma aplicação Laravel com InertiaJs e VueJs. Propósito Este projeto tem o objetivo de deixar uma apli

Demo and practice application with Laravel 8 and InertiaJS. (From laracasts course)
Demo and practice application with Laravel 8 and InertiaJS. (From laracasts course)

InertiaJS playground ⚽️ Started with the Laracasts: Build Modern Laravel Apps Using Inertia.js course and decided to share all my code here, I'll be a

Running Laravel and React stacks together using Vite and InertiaJS on Docker.

Laravel-Vite-Docker Running Laravel and React stacks together using Vite and InertiaJS on Docker. Explore project's blog » Report Bug · Request Featur

Releases(v0.0.5)
  • v0.0.5(Jun 14, 2022)

    What's Changed

    • Improvment and fix test workflow by @rizkhal in https://github.com/rizkhal/inertable/pull/2
    • Improvment and separate vue by @rizkhal in https://github.com/rizkhal/inertable/pull/3
    • Fix readme by @rizkhal in https://github.com/rizkhal/inertable/pull/5
    • ref: headles inertable by @rizkhal in https://github.com/rizkhal/inertable/pull/6
    • chore: update dependencies by @rizkhal in https://github.com/rizkhal/inertable/pull/8

    Full Changelog: https://github.com/rizkhal/inertable/compare/v0.0.4...v0.0.5

    Source code(tar.gz)
    Source code(zip)
  • v0.0.4(Apr 1, 2022)

  • v0.0.3(Mar 13, 2022)

    What's Changed

    • improvment and add simple test by @rizkhal in https://github.com/rizkhal/inertable/pull/1

    Full Changelog: https://github.com/rizkhal/inertable/compare/v0.0.2...v0.0.3

    Source code(tar.gz)
    Source code(zip)
  • v0.0.2(Feb 28, 2022)

Owner
Rizkhal
Rizkhal
Hassle-free Laravel + Inertiajs + Svelte + TailwindCSS Boilerplate

Hassle-free Laravel + Inertiajs + Svelte + TailwindCSS Boilerplate

Michael S 46 Dec 31, 2022
Laravel, react, and inertiajs for LevelUp Feel-IT 2021

How To Install hehe Clone the repository: Create your environment file: cp .env.example .env The app key is used to salt passwords. If you need to wor

Raihan Parama 2 Nov 14, 2021
Demo and practice application with Laravel 8 and InertiaJS. (From laracasts course)

InertiaJS playground ⚽️ Started with the Laracasts: Build Modern Laravel Apps Using Inertia.js course and decided to share all my code here, I'll be a

Kasper Ligthart 1 Dec 2, 2021
A Server Side Processing Datatable for Vue Next Datatable

Laravel Next Datatable A Server Side Proccessing Package Laravel for Vue Next Datatable. You can see Vue Next Datatable Installation You can install t

DevoverID 2 Sep 20, 2021
Laravel Ajax Datatable is a nice laravel admin panel which includes authentication, CRUD and Ajax datatable.

Laravel Ajax Datatable is a nice laravel admin panel which includes authentication, CRUD and Ajax datatable. the datatable is created with laravel & ajax so No need to install another package, yout can do search, sort, paginate and show records per page fastly.

Jumah 3 Oct 3, 2022
Belich Tables: a datatable package for Laravel Livewire

Belich Tables is a Laravel package base on Livewire and AlpineJS that allows you to create scaffold datatables with search, column sort, filters, pagination, etc...

Damián Aguilar 11 Aug 26, 2022
rapyd: crud widgets for laravel. datatable, grids, forms, in a simple package

rapyd-laravel This is a pool of presentation and editing widgets (Grids and Forms) for laravel. Nothing to "generate", just some classes to let you de

Felice Ostuni 875 Dec 29, 2022
Joy VoyagerDatatable module adds Yajra DataTable to Voyager.

Joy VoyagerDatatable This Laravel/Voyager module adds Yajra Async/Ajax DataTable to Voyager. By ?? Ramakant Gangwar. Prerequisites Composer Installed

Ramakant Gangwar 10 Dec 19, 2022
An advanced datatable component for Laravel Livewire.

Livewire Smart Table An advanced, dynamic datatable component with pagination, sorting, and searching including json data. Installation You can instal

Turan Karatuğ 87 Oct 13, 2022
PSR-15 Adapter for InertiaJS

inertia-psr15 Before using this library, is important to know what is Inertia.js, what is it for and how it works, in the official Inertia.js website

Mohamed Cherif Bouchelaghem 28 Oct 26, 2022