在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):yajra/laravel-datatables开源软件地址(OpenSource Url):https://github.com/yajra/laravel-datatables开源编程语言(OpenSource Language):PHP 100.0%开源软件介绍(OpenSource Introduction):jQuery DataTables API for Laravel 4|5|6|7|8|9Laravel package for handling server-side works of DataTables jQuery Plugin via AJAX option by using Eloquent ORM, Fluent Query Builder or Collection. return datatables()->eloquent(User::query())->toJson();
return datatables()->query(DB::table('users'))->toJson();
return datatables()->collection(User::all())->toJson();
return datatables(User::query())->toJson();
return datatables(DB::table('users'))->toJson();
return datatables(User::all())->toJson(); SponsorsRequirementsDocumentations
Laravel Version Compatibility
Quick Installation$ composer require yajra/laravel-datatables-oracle:"^10.0" Service Provider & Facade (Optional on Laravel 5.5+)Register provider and facade on your 'providers' => [
...,
Yajra\DataTables\DataTablesServiceProvider::class,
]
'aliases' => [
...,
'DataTables' => Yajra\DataTables\Facades\DataTables::class,
] Configuration (Optional)$ php artisan vendor:publish --provider="Yajra\DataTables\DataTablesServiceProvider" And that's it! Start building out some awesome DataTables! Debugging ModeTo enable debugging mode, just set IMPORTANT: Please make sure that APP_DEBUG is set to false when your app is on production. PHP ARTISAN SERVE BUGPlease avoid using It is advised to use Homestead or Valet when working with the package. ContributingPlease see CONTRIBUTING for details. SecurityIf you discover any security related issues, please email [email protected] instead of using the issue tracker. CreditsLicenseThe MIT License (MIT). Please see License File for more information. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论