lucasarend / laravel-datatables-mongodb
Laravel DataTables plugin to support Mongodb
Installs: 3 800
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.4
- yajra/laravel-datatables-oracle: >=10.0
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.