PHPackages                             refkinscallv/laravel-datakits - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. refkinscallv/laravel-datakits

ActiveLibrary[Database &amp; ORM](/categories/database)

refkinscallv/laravel-datakits
=============================

Laravel library for server-side rendering of tables and card-based data views with advanced pagination

1.0.0(4mo ago)00MITPHPPHP ^8.2CI passing

Since Dec 20Pushed 4mo agoCompare

[ Source](https://github.com/refkinscallv/laravel-datakits)[ Packagist](https://packagist.org/packages/refkinscallv/laravel-datakits)[ RSS](/packages/refkinscallv-laravel-datakits/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Laravel Datakits
================

[](#laravel-datakits)

A powerful Laravel library for server-side pagination with advanced search, filtering, and sorting capabilities. Perfect for building data tables, card views, and list interfaces with complex data requirements.

[![Latest Version](https://camo.githubusercontent.com/9e8fe3a9546d9c779c58a1a8a6efdcc3a984ca3b80f7ae2d207cf11bac2ebc3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7265666b696e7363616c6c762f6c61726176656c2d646174616b6974732e737667)](https://packagist.org/packages/refkinscallv/laravel-datakits)[![Total Downloads](https://camo.githubusercontent.com/bb74ebe0fdf8ebd53946f1c5f3d72d1bf6e212c08cc1c6c35107daced1730b18/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7265666b696e7363616c6c762f6c61726176656c2d646174616b6974732e737667)](https://packagist.org/packages/refkinscallv/laravel-datakits)[![Tests](https://github.com/refkinscallv/laravel-datakits/workflows/Tests/badge.svg)](https://github.com/refkinscallv/laravel-datakits/actions)[![License](https://camo.githubusercontent.com/b3594caef73420b0d5074950f359b2e8caec77355081825a9ba2ea2fa20492db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7265666b696e7363616c6c762f6c61726176656c2d646174616b6974732e737667)](https://packagist.org/packages/refkinscallv/laravel-datakits)

Features
--------

[](#features)

- Advanced pagination with search, filter, and sorting
- Flexible search across multiple columns including relationships
- Easy filtering with key-value pairs or whereIn conditions
- Sorting by any column including related table columns
- Cursor-based pagination for large datasets
- Customizable response format including camelCase conversion
- Configurable through simple config file
- Easy to use with trait-based implementation

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- Laravel 11.x or 12.x

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require refkinscallv/laravel-datakits
```

The package will automatically register its service provider.

### Publish Configuration (Optional)

[](#publish-configuration-optional)

If you want to customize the configuration, publish the config file:

```
php artisan vendor:publish --tag=datakits-config
```

This will create a `config/datakits.php` file in your application.

Quick Start
-----------

[](#quick-start)

### Step 1: Add Trait to Your Model

[](#step-1-add-trait-to-your-model)

```
