Laravel DataTables plugin to support Mongodb
lucasarend/laravel-datatables-mongodb is a Laravel package for laravel datatables plugin to support mongodb.
It currently has 0 GitHub stars and 3.842 downloads on Packagist (latest version v1.0.1).
Install it with composer require lucasarend/laravel-datatables-mongodb.
Discover more Laravel packages by lucasarend
or browse all Laravel packages to compare alternatives.
Last updated
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.
Package is available via Composer:
"lucasarend/laravel-datatables-mongodb": "^1.0.1"
or run
composer require lucasarend/laravel-datatables-mongodb
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,
],
You will use the Datatable in the same way. Documentation for more information.
The MIT License (MIT). Please see License File for more information.