LaravelPackages.net
Acme Inc.
Toggle sidebar
lucasarend/laravel-datatables-mongodb

Laravel DataTables plugin to support Mongodb

3.842
0
v1.0.1
About lucasarend/laravel-datatables-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

Laravel Datatables MongoDB

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.

Star History Chart