suhk/datafinder-laravel
Composer 安装命令:
composer require suhk/datafinder-laravel
包简介
This is a package to implement search and filters on the backend level using DataTables and Laravel Models. The best part of this package is the ability to search across multiple tables and rows in a single request (ajax), with or without using joins.
README 文档
README
An easy, configurable & modular laravel package for Datatables
Introduction
DataFinder is an innovative and highly efficient Laravel package that simplifies complex data operations by bringing advanced search, filtering, and retrieval capabilities into a single, developer-friendly solution. It eliminates the need for writing repetitive query logic by bridging backend queries with dynamic, customizable front-end tables.
Built on top of Laravel’s robust Eloquent Query Builder and seamlessly integrated with DataTables, DataFinder ensures performance and scalability even when working with millions of records. Its modular configuration approach makes it easy to define relationships, filters, conditional queries, exports, and custom row actions & more, all from a configuration structure per module. It allows developers to focus on delivering insights and features rather than wrestling with data pipelines, making it a go-to solution for modern, data-driven applications.
Key Features
Core Features (Developer Essentials)
Everything developers need to build fast, flexible, and reliable data-driven modules.
🔍 Dynamic Multi-Table Search
Seamlessly query across multiple database tables with automatic JOINs, delivering fast and relevant results without extra boilerplate.
🔎 Advanced Multi-Filter Search
Stack multiple filters with multi-value support, combining filter-based and text-based search across single or multiple tables, giving users ultimate flexibility in refining data.
📊 Conditional & Aggregate Queries
Full support for where, groupBy, having, and aggregate functions makes it easy to build anything from simple filters to complex analytical reports.
⚡ Flexible Table Configurations
Define models, relationships, searchable columns, and filters inside a single modular config file per module, cutting down setup time and ensuring consistency.
🎯 Custom Row Actions
Create interactive row-level actions (like edit, approve, export, etc.) directly in your tables, enabling seamless workflows inside your application.
🏢 Enterprise Value (Performance & Scale)
Designed for scalability, maintainability, and enterprise-grade performance.
📈 Optimized for Performance & Scale
Built to handle millions of records efficiently, ensuring fast search and exports even for enterprise-scale datasets.
⚡ Advanced Data Exporting (CSV, XLSX, XLS)
Export small or large datasets — from simple queries to complex joins, filters, and conditionals, all from the same modular configuration.
🚀 Intuitive Module Setup
One config = everything. Columns, joins, filters, exports, and row actions can all be defined per module, making integration faster, cleaner, and scalable.
📦 One-Command Setup
Install, configure, and refresh with single Artisan commands. Perfect for fast onboarding and easy upgrades.
Why DataFinder?
Building searchable, filterable, and exportable data modules in modern applications is often repetitive, time-consuming, and inconsistent across projects.
DataFinder solves this by providing a plug-and-play, configuration-driven solution that makes data exploration as simple as writing one config file.
For Developers: No need to reinvent advanced search, joins, and exports. Focus on business logic, not boilerplate.
For Teams: Standardized, reusable configs mean faster onboarding, less code debt, and predictable results.
For Enterprises: Built to scale with millions of records, efficient exports, and modular architecture for long-term maintainability.
For Investors: DataFinder reduces engineering overhead, accelerates delivery timelines, and enables applications to monetize faster with enterprise-grade data handling.
Documentation
Full documentation is available at: DataFinder Documentation
The documentation cover's:
- Introduction
- Installation
- Quick Start Guide
- Configuration Structure
- Filters, Headers, Buttons, Conditionals & more
Credits:
This project depends on the following open-source libraries, which are not bundled in the package (except SheetJS CE, which is included via CDN). All other libraries are expected to be added via CDN by the end user:
- Bootstrap
- jQuery
- DataTables
- Select2
- SheetJS CE
- CDN used:
https://cdn.sheetjs.com/xlsx-latest/package/xlsx.mjs - Licensed under the Apache License 2.0
- © 2012–present SheetJS LLC
- CDN used:
suhk/datafinder-laravel 适用场景与选型建议
suhk/datafinder-laravel 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 69 次下载、GitHub Stars 达 2, 最近一次更新时间为 2025 年 03 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 suhk/datafinder-laravel 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 suhk/datafinder-laravel 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-15