mrugeshtatvasoft / laravel-datatables-html
Laravel DataTables HTML builder plugin
Fund package maintenance!
mrugeshtatvasoft
Patreon
www.paypal.me/mrugeshtatvasoft
Requires
- php: ^8.2
- ext-json: *
- mrugeshtatvasoft/laravel-datatables-oracle: ^1.0
Requires (Dev)
- larastan/larastan: ^2.9.1
- laravel/pint: ^1.14
- livewire/livewire: ^3.4
- orchestra/testbench: ^9
- rector/rector: ^1.0
Suggests
- laravel/livewire: Required for Livewire layout support.
This package is auto-updated.
Last update: 2024-10-28 12:58:37 UTC
README
This package is a plugin of Laravel DataTables for generating dataTables script using PHP.
Requirements
Documentations
Laravel Version Compatibility
Quick Installation
composer require mrugeshtatvasoft/laravel-datatables-html:^11
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 mrugeshtatvasoft\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.