Download the PHP package manusiakemos/laravel-tanstack without Composer

On this page you can find all versions of the php package manusiakemos/laravel-tanstack. 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-tanstack

Laravel DataTables for TanStack

Latest Version Tests License

Modern server-side datatable for Laravel, purpose-built for TanStack Table frontends (React, Vue, Svelte, Solid). Inspired by yajra/laravel-datatables but with a clean REST API instead of the legacy datatables.net protocol.

Use this when you have an Inertia (or any SPA) frontend, want server-side processing, and want to stop writing pagination + search + sort + filter boilerplate for every table.

Why this package

Installation

Publish the config (optional):

Quick start

Register it on a web route so it has access to the session (for Inertia auth):

Done. The controller returns a JsonResponse automatically because DataTable implements Responsable.

API protocol

Request

Param Description
page 1-indexed page number. Defaults to 1.
per_page Rows per page. Clamped to max_per_page config.
sort Comma-separated column:direction pairs.
search Global search term across searchable() columns.
filter[col]=v Equals filter.
filter[col][]=v1&filter[col][]=v2 whereIn filter.

Response

Features

Transform rows

Or use an API Resource:

Custom search

Custom sort column

For computed or relation columns:

Custom filter

Request: ?filter[created_between]=2024-01-01,2024-12-31

Authorization

Returns 403 if the closure returns false.

Default sort

Skip total count

For very large tables where count(*) over the unfiltered set is expensive:

The response will have meta.total = null; frontend should rely on filtered only.

Pagination limits

Query builder macro

For one-liner usage:

Inertia + TanStack pattern

The recommended setup: let Inertia render the page shell (layout, auth state, navigation), and let the table component fetch its own data from a separate JSON endpoint.

The table state lives in React; the page shell stays Inertia-managed. No full-page reload on pagination.

Security notes

Configuration

The full config/laravel-tanstack.php:

Testing

Requirements

Roadmap

Contributing

Contributions are welcome — bug reports, feature requests, and pull requests.

Before opening a PR:

  1. Fork the repo and create a feature branch from main:

  2. Install dependencies:

  3. Make your change. Keep the public API stable unless the PR is explicitly a breaking change.
  4. Add or update tests under tests/Feature or tests/Unit. New features without tests will not be merged.
  5. Run the full quality gate locally — it must pass before you push:

  6. Update CHANGELOG.md under the [Unreleased] section. Use the Keep a Changelog categories: Added, Changed, Deprecated, Removed, Fixed, Security.
  7. Open the PR against main with a clear description of the change, the motivation, and any breaking-change notes.

Branch naming: feat/..., fix/..., docs/..., refactor/..., test/....

Commit style: Conventional Commits preferred (feat:, fix:, docs:, chore:, refactor:, test:).

Issues: When filing a bug, include the Laravel version, PHP version, a minimal reproduction, and the actual vs expected behavior. For feature requests, describe the use case before the proposed API.

License

MIT.


All versions of laravel-tanstack with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/http Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.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 manusiakemos/laravel-tanstack contains the following files

Loading the files please wait ...