lucasarend/laravel-datatables-mongodb
最新稳定版本:v1.0.1
Composer 安装命令:
composer require lucasarend/laravel-datatables-mongodb
包简介
Laravel DataTables plugin to support Mongodb
README 文档
README
About Package
Hey, I start the development of this package now, some things may not work very well.
I'm learning English sorry for any mistakes.
Feel free to send suggestions and improvements.
Installation
Package is available via Composer:
"lucasarend/laravel-datatables-mongodb": "^1.0.1"
or run
composer require lucasarend/laravel-datatables-mongodb
Configure
Open the config/datatables.php file and add the engines manually to the config
//Replace query by LucasArend\DataTablesMongoDB\QueryDataTable::class, //Original Config 'engines' => [ 'eloquent' => Yajra\DataTables\EloquentDataTable::class, 'query' => Yajra\DataTables\QueryDataTable::class, 'collection' => Yajra\DataTables\CollectionDataTable::class, ], //Afeter Replace Config 'engines' => [ 'eloquent' => Yajra\DataTables\EloquentDataTable::class, 'query' => LucasArend\DataTablesMongoDB\QueryDataTable::class, 'collection' => Yajra\DataTables\CollectionDataTable::class, ],
Documentation
You will use the Datatable in the same way. Documentation for more information.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 3.82k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-29