imanghafoori1 / laravel-datatables-html

Laravel DataTables HTML Builder Plugin

Home Page:https://yajrabox.com/docs/laravel-datatables/html-installation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel DataTables Html Plugin.

Laravel 10.x Latest Stable Version Build Status Scrutinizer Code Quality Total Downloads Imports License

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

Quick Installation

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

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.

About

Laravel DataTables HTML Builder Plugin

https://yajrabox.com/docs/laravel-datatables/html-installation

License:MIT License


Languages

Language:PHP 98.6%Language:Blade 1.4%