承接 yajra/laravel-datatables-html 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

yajra/laravel-datatables-html

最新稳定版本:v12.6.0

Composer 安装命令:

composer require yajra/laravel-datatables-html

包简介

Laravel DataTables HTML builder plugin

README 文档

README

Laravel 12.x Latest Stable Version Scrutinizer Code Quality Total Downloads License

Continuous Integration Static Analysis PHP Linting

This package is a plugin of Laravel DataTables for generating dataTables script using PHP.

Requirements

Documentations

Laravel Version Compatibility

Laravel Package
8.x and below 4.x
9.x 9.x
10.x 10.x
11.x 11.x
12.x 12.x

Quick Installation

composer require yajra/laravel-datatables-html:^12

Setup scripts with ViteJS

Set the default javascript type to module by setting Builder::useVite() in the AppServiceProvider.

namespace App\Providers;

use Illuminate\Pagination\Paginator;
use Illuminate\Support\ServiceProvider;
use Yajra\DataTables\Html\Builder;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     */
    public function boot(): void
    {
        Paginator::useBootstrapFive();
        Builder::useVite();
    }
}

Publish Assets (Optional)

$ php artisan vendor:publish --tag=datatables-html

And that's it! Start building out some awesome DataTables!

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email aqangeles@gmail.com instead of using the issue tracker.

Credits

License

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

统计信息

  • 总下载量: 9.02M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 289
  • 点击次数: 1
  • 依赖项目数: 52
  • 推荐数: 10

GitHub 信息

  • Stars: 282
  • Watchers: 8
  • Forks: 69
  • 开发语言: PHP

其他信息

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