Download the PHP package hafizhfadh/laravel-simple-datatable without Composer

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

Laravel Simple Datatable

Latest Version on Packagist Tests Total Downloads

Laravel Simple Datatable is a lightweight, framework-native engine designed to bridge Laravel with simple-datatables (and similar frontend libraries). It provides a fluent, secure, and pipeline-driven approach to handling server-side and client-side data processing without the bloat of jQuery or heavy dependencies.

Built with TailwindCSS v4 compatibility in mind and engineered for Laravel 11.x & 12.x, this package offers enterprise-grade performance with a developer-friendly API.

๐Ÿš€ Key Features

๐Ÿ“ฆ Installation

You can install the package via composer:

๐Ÿ”ง Usage

1. Basic Setup

The simplest way to use the datatable is by passing an Eloquent query or a Collection to the make method.

Server-Side (Recommended for Large Datasets)

Client-Side (Fallback for Small Datasets)

2. Column Configuration

Columns must be explicitly defined to enable interaction. This is a security feature to prevent arbitrary sorting or searching on sensitive fields.

3. Frontend Integration

This package outputs a JSON response compatible with most datatable libraries. Here is an example response structure:

Server Mode Response:

Client Mode Response:

๐ŸŽจ Frontend Integration

For a comprehensive guide on integrating this package with simple-datatables and styling it with TailwindCSS v4, please refer to our Frontend Integration Guide.

โš™๏ธ Advanced Configuration

Manual Mode Selection

You can force a specific mode if needed:

Request Injection

By default, the engine uses the current global request. You can inject a custom request instance:

๐Ÿงช Testing

We use Pest for testing. To run the test suite:

๐Ÿค Contributing

Contributions are welcome! Please see CONTRIBUTING.md for details.

  1. Fork the repository.
  2. Create a new feature branch.
  3. Commit your changes.
  4. Push to the branch.
  5. Open a Pull Request.

๐Ÿ”’ Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

๐Ÿ“„ License

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


HafizhFadh/LaravelSimpleDatatable โ€” Simple, Secure, Scalable.


All versions of laravel-simple-datatable with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/support Version ^11.0|^12.0
illuminate/database 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 hafizhfadh/laravel-simple-datatable contains the following files

Loading the files please wait ...