Download the PHP package modus-digital/livewire-datatables without Composer

On this page you can find all versions of the php package modus-digital/livewire-datatables. 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 livewire-datatables

Livewire Datatables

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A modern, feature-rich Livewire Datatable component for the TALL stack (Tailwind CSS, Alpine.js, Laravel, Livewire). Built with modularity, performance, and developer experience in mind.

โœจ Features

๐Ÿ“‹ Requirements

Requirement Version
PHP ^8.3
Laravel ^11.0 or ^12.0
Livewire ^3.0
Tailwind CSS ^4.0
Alpine.js ^3.0

๐Ÿ“ฆ Installation

Install the package via Composer:

The package will automatically register its service provider.

Publishing Views (Optional)

To customize the table appearance, publish the views:

This publishes all Blade templates to resources/views/vendor/livewire-datatables/.

Publishing Config (Optional)

To customize the package, you can publish the config file:

This publishes a config file to config/livewire-datatables.php

Source frontend styles

To automatically source the frontend using tailwind, include the following files to the app.css

๐Ÿš€ Quick Start

1. Generate a Table Component

Use the built-in Artisan command to scaffold a new table:

Or create one manually:

2. Use in Your Blade Template

๐Ÿ“š Documentation

Column Types

Base Column

De basis met alle kernopties:

TextColumn

Extraโ€™s voor tekstweergave:

IconColumn

ImageColumn

Relatievelden gebruik je met dot-notatie in field:

Voor aangepaste SQL sortering via een andere kolom:

Filters

TextFilter

SelectFilter

DateFilter

Filters werken ook op relatievelden (field('relation.attribute')). Indien een veld een Eloquent attribute/accessor is, valt filtering terug op PHP (na ophalen) voor correcte resultaten.

Row selection

Rijselectie inschakelen en gebruiken:

Geselecteerde IDs vind je in $this->selected (array). Combineer dit met een globale actie om bulk-operaties te doen (zie hieronder).

Row Actions

Voeg rijacties met callbacks toe:

Je kunt zichtbaarheid conditioneel maken met ->visible(fn ($row) => ...) en een ->icon() string meegeven.

Global Actions

Header-acties met callback (handig voor bulk op $this->selected):

Clickable Rows

Maak hele rijen klikbaar door showRecord te overriden:

Pagination Configuration

Search Configuration

Empty State Customization

Publiceer de views en pas resources/views/vendor/livewire-datatables/partials/empty-state.blade.php aan:

Custom Query Building

Relationship Handling

Gebruik dotโ€‘notatie in field('relation.column'). Voor sorting over relaties gebruik je ->sortField('related_table.column'). Wanneer je sorteert op een attribute/accessor, wordt automatisch in PHP gesorteerd na ophalen.

๐ŸŽจ Styling & Customization

Dark Mode Support

The package includes full dark mode support using Tailwind's dark: variants. Ensure your project has dark mode configured:

Custom Views

Create custom cell views for complex content:

Badge Colors

Available badge colors for TextColumn:

๐Ÿ—๏ธ Architecture

The package follows a modular trait-based architecture:

Core Traits

Each trait is focused, testable, and can be understood independently.

๐Ÿงช Testing

The package includes comprehensive tests using Pest 3:

๐Ÿ”ง Development

Code Quality Tools

The package uses several tools to maintain high code quality:

Contributing Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Write tests for new functionality
  4. Ensure all tests pass: composer test
  5. Fix code style: composer format
  6. Run static analysis: composer analyse
  7. Submit a pull request

๐Ÿ“ Changelog

See CHANGELOG.md for recent changes and version history.

๐Ÿ‘ฅ Credits

๐Ÿ“„ License

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


All versions of livewire-datatables with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/contracts Version ^11.0||^12.0
livewire/livewire Version ^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 modus-digital/livewire-datatables contains the following files

Loading the files please wait ...