vladrub/laravel-datatables-oracle
Composer 安装命令:
composer require vladrub/laravel-datatables-oracle
包简介
jQuery DataTables API for Laravel 4|5
关键字:
README 文档
README
This package is created to handle server-side works of DataTables jQuery Plugin via AJAX option by using Eloquent ORM, Fluent Query Builder or Collection.
return datatables()->of(User::query())->toJson(); return datatables()->of(DB::table('users'))->toJson(); return datatables()->of(User::all())->toJson(); 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();
Requirements
Documentations
- Laravel DataTables Documentation
- Laravel DataTables API
- Laravel 5.0 - 5.3 Demo Application
- Laravel 5.4 Demo Application
Laravel Version Compatibility
| Laravel | Package |
|---|---|
| 4.2.x | 3.x |
| 5.0.x | 6.x |
| 5.1.x | 6.x |
| 5.2.x | 6.x |
| 5.3.x | 6.x |
| 5.4.x | 7.x, 8.x |
| 5.5.x | 8.x |
| 5.6.x | 8.x |
DataTables 8.x Upgrade Guide
There are breaking changes since DataTables v8.x. If you are upgrading from v7.x to v8.x, please see upgrade guide.
Quick Installation
$ composer require yajra/laravel-datatables-oracle:"~8.0"
Service Provider & Facade (Optional on Laravel 5.5)
Register provider and facade on your config/app.php file.
'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 Mode
To enable debugging mode, just set APP_DEBUG=true and the package will include the queries and inputs used when processing the table.
IMPORTANT: Please make sure that APP_DEBUG is set to false when your app is on production.
PHP ARTISAN SERVE BUG
Please avoid using php artisan serve when developing with the package.
There are known bugs when using this where Laravel randomly returns a redirect and 401 (Unauthorized) if the route requires authentication and a 404 NotFoundHttpException on valid routes.
It is advised to use Homestead or Valet when working with the package.
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.
Buy me a coffee
vladrub/laravel-datatables-oracle 适用场景与选型建议
vladrub/laravel-datatables-oracle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 294 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 06 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「jquery」 「laravel」 「datatables」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 vladrub/laravel-datatables-oracle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vladrub/laravel-datatables-oracle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 vladrub/laravel-datatables-oracle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.
Laravel DataTables plugin to support Mongodb
Plug-ins for DataTables
Yii2 LightBox image galary widget uses Lightbox v2.10.0 by Lokesh Dhakar
Vanilla Components Integration with Laravel
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
统计信息
- 总下载量: 294
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-27