data-table/kimsang 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

data-table/kimsang

最新稳定版本:v1.2.6

Composer 安装命令:

composer require data-table/kimsang

包简介

Reusable Laravel DataTable helper

README 文档

README

A reusable Laravel DataTable helper package designed for searching, sorting, and pagination, with PostgreSQL-safe global search, integer compatibility, and operator-based filtering.

This package is built for real-world admin panels, API backends, and frontend data tables.

✨ Features

  • ✅ Laravel 10 & 11 compatible
  • ✅ PostgreSQL-safe (ILIKE, reserved keyword handling)
  • ✅ Works with string & integer columns
  • ✅ Operator-based global search
  • ✅ Safe parameter binding (SQL injection protected)
  • ✅ Supports Eloquent Model, Builder, or Model instance
  • ✅ Ready for Composer & Packagist

Search Application Logic

The applySearch method applies search conditions dynamically based on a specified operator. It supports both text and numeric columns by safely casting values to text when necessary and performs case-insensitive matching using PostgreSQL ILIKE.

This approach allows a single global search to work across mixed column types while remaining safe and performant.

📦 Installation

composer require data-table/kimsang

统计信息

  • 总下载量: 268
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固