Download the PHP package digit7s/inertia-table without Composer

On this page you can find all versions of the php package digit7s/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 inertia-table

Inertia Table

Latest Version on Packagist Total Downloads PHP Version Compliance

A backend-driven datatable package for Laravel, Inertia.js, and Vue 3.

Define your table structure, query, searching, sorting, filtering, row actions, bulk actions, and grouping in PHP, then render the result with published Vue 3 components in your Laravel/Inertia application.


โœจ Features


โœ… Version Support

Package Version PHP Laravel Inertia Laravel Vue.js Tailwind CSS shadcn-vue Status
1.x ^8.2 10.x, 11.x, 12.x, 13.x ^1.0, ^2.0, ^3.0 3.x 3.x, 4.x Compatible Active

Version support is based on the Composer constraints and tested compatibility for each package release.


๐Ÿ›  Requirements

Please refer to the Version Support table for PHP, Laravel, Inertia Laravel, and Vue.js compatibility.

This package has two parts:

  1. A Laravel/PHP backend table builder.
  2. Publishable Vue 3 frontend components for your Laravel/Inertia app.

Backend Requirements

Frontend Requirements

The published Vue components expect your Laravel/Inertia app to already have the following frontend stack installed and configured:

Required shadcn-vue Components

The published components import shadcn-vue components from your app's @/components/ui directory.

Make sure these components exist in your consuming Laravel app:

Depending on the features you use, additional shadcn-vue components may be required in future versions.

Note: shadcn-vue components are generated into your application. They are not normal npm package imports. This package expects those components to exist in the consuming Laravel app after publishing the table components.


๐Ÿš€ Installation

Install the package via Composer:

Publish Vue Components

Since the table UI is built with Vue 3 and Tailwind CSS, publish the components into your Laravel app:

This will publish the components to:

After publishing, you may customize the Vue components to match your application's design system.


๐Ÿ“– Basic Usage

1. Generate a Table Class

Use the Artisan command to create a new table class:

This will create:


2. Configure the Table

Define your query and columns in the generated table class:


3. Return the Table from a Controller


4. Render the Table in Vue

If your component currently expects tableData instead of table-data, both are the same Vue prop in templates because Vue supports kebab-case usage for camelCase props.


๐Ÿ’Ž Advanced Features

Column Types

The package provides specialized column types for common table data:

Example:


๐Ÿ”— Row Actions & Links

Clickable Rows

Make the entire row clickable:

Row Actions Dropdown

Add row-level actions to your table:


๐Ÿ“ฆ Bulk Actions

Enable multi-row operations with a floating bulk action bar:

CSV Export

CSV export is disabled by default.

Enable it in your table class:

The package uses Laravel streamDownload() and PHP fputcsv(). No external export dependency is required.

๐Ÿ“ Grouping

Organize records into expandable groups:

You may also define a default group:


๐ŸŽจ Customizing Cells

You can override any cell's rendering using Vue slots.

Slot names follow this format:

For example:

Column Key Slot Name
name cell-name
email cell-email
status cell-status
actions cell-actions

๐Ÿงฉ Frontend Customization

After publishing the components, you can customize them directly in your app:

Common customization points:

Because the components are published into your application, you are free to adapt them to your design system.


๐Ÿ“š Documentation

For detailed information on each feature, see the documentation inside the docs/ folder:


๐Ÿงช Testing

If you are contributing to the package, run the test suite:

If no test script is configured, run Pest directly:

You may also run Laravel Pint if it is installed:


๐Ÿงญ Roadmap

See the Roadmap for planned and potential future improvements.


๐Ÿค Contributing

Contributions are welcome.

Before submitting a pull request:

  1. Keep changes focused.
  2. Follow the existing code style.
  3. Add or update tests when possible.
  4. Update documentation when behavior changes.
  5. Confirm the package still works in a Laravel/Inertia/Vue app.

๐Ÿ”’ Security

If you discover a security vulnerability, please report it privately instead of opening a public issue.


๐Ÿ“„ License

The MIT License (MIT). Please see License File for more information.


All versions of inertia-table with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
inertiajs/inertia-laravel Version ^1.0|^2.0|^3.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 digit7s/inertia-table contains the following files

Loading the files please wait ...