Download the PHP package zonvoir/laravel-inertia-table without Composer

On this page you can find all versions of the php package zonvoir/laravel-inertia-table. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-inertia-table

Zonvoir Table

Expressive Laravel and Inertia Vue tables, keeping query orchestration and presentation tightly integrated.

Requirements

PHP 8.3+ Laravel 11, 12, or 13 Inertia.js 2.x or 3.x Vue 3.4+ Tailwind CSS 3.4+ or 4.0+

Installation

Standard Installation

Install the Laravel backend package via Composer:

Install the Vue adapter package via npm:

Architecture Note: Zonvoir Table decouples backend table querying and hydration (zonvoir/laravel-inertia-table) from frontend presentation adapters (@zonvoir/inertia-table-vue). React and Svelte adapters will be available in future releases. Both packages are version-synchronized.

Import it in your app:

Configure Tailwind to scan the package so it generates the utility classes used by the components.

For Tailwind CSS 4:

For Tailwind CSS 3.4, add the package path to content in tailwind.config.js:

Backend Table Definition

Pagination is enabled by default and can be disabled per table:

Execute a table query with search, sorting, and the configured paginator, returning the full Inertia table payload:

The package supports paginate(), simplePaginate(), and cursorPaginate() through PaginationType::Standard, PaginationType::Simple, and PaginationType::Cursor.

Columns

Columns describe backend metadata and value resolution only. Rendering stays in the frontend.

Custom frontend-only metadata can be passed through meta():

Use mapAs() when a column value should be derived from the backend record instead of directly reading the column name:

Or fluently:

mapAs() is backend value mapping, not frontend rendering. The callback is never serialized to the frontend.

Hydrate state from the query string and return a normalized payload:

If you want multiple tables on the same page, give each table instance an explicit name so their state stays isolated:

This produces independent query string namespaces such as:

Example payload:

Dark mode

The adapter uses Tailwind's dark: utilities. Enable class-based dark mode in the consuming application, then add the dark class to an ancestor of the table.

For Tailwind CSS 4, add this to your CSS after importing Tailwind:

For Tailwind CSS 3.4, add this to tailwind.config.js:

Custom dynamic colors

The color option can produce Tailwind class names dynamically. If you use a custom color such as olive, register it and explicitly generate its utilities. Add any additional color name to the Tailwind theme and to the matching @source inline list (v4) or safelist pattern (v3.4).

For Tailwind CSS 4:

For Tailwind CSS 3.4:

License

Zonvoir Table is open-sourced software licensed under the Apache License, Version 2.0.


All versions of laravel-inertia-table with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/console Version ^11.0|^12.0|^13.0
illuminate/database Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
maatwebsite/excel Version ^3.1|^4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zonvoir/laravel-inertia-table contains the following files

Loading the files please wait ...