An open API service indexing awesome lists of open source software.

https://github.com/elfsundae/laravel-datatables


https://github.com/elfsundae/laravel-datatables

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# Laravel DataTables

[![Latest Version on Packagist](https://img.shields.io/packagist/v/elfsundae/laravel-datatables.svg?style=flat-square)](https://packagist.org/packages/elfsundae/laravel-datatables)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/ElfSundae/laravel-datatables/master.svg?style=flat-square)](https://travis-ci.org/ElfSundae/laravel-datatables)
[![StyleCI](https://styleci.io/repos/94647284/shield)](https://styleci.io/repos/94647284)
[![SensioLabsInsight](https://img.shields.io/sensiolabs/i/6fe19cb9-8907-46f6-9f06-644c8bfb5f94.svg?style=flat-square)](https://insight.sensiolabs.com/projects/6fe19cb9-8907-46f6-9f06-644c8bfb5f94)
[![Quality Score](https://img.shields.io/scrutinizer/g/ElfSundae/laravel-datatables.svg?style=flat-square)](https://scrutinizer-ci.com/g/ElfSundae/laravel-datatables)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/ElfSundae/laravel-datatables/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/ElfSundae/laravel-datatables/?branch=master)

An extended package based on [yajra/laravel-datatables](https://github.com/yajra/laravel-datatables).

## Installation

```sh
$ composer require elfsundae/laravel-datatables
```

Then register the service provider:

```php
ElfSundae\DataTables\DataTablesServiceProvider::class
```

## Extended Notes

### Added

- Added some convenient methods for DataTable service, you need to use [`ElfSundae\DataTables\Services\DataTable`](src/Services/DataTable.php) instead of `Yajra\DataTables\Services\DataTable`
- ~~Added `addColumns()` for `EloquentDataTable`~~ (_merged in [yajra/laravel-datatables#1416](https://github.com/yajra/laravel-datatables/pull/1416)_)
- ~~Added `postAjax()` for Html Builder~~ (_merged in [yajra/laravel-datatables-html#45](https://github.com/yajra/laravel-datatables-html/pull/45)_)

### Changed

- ~~Changed the default `filename` for export to `className_YmdHis`~~ (_merged in [yajra/laravel-datatables-buttons#49](https://github.com/yajra/laravel-datatables-buttons/pull/49)_)
- Refactored `DataTables` factory, see [yajra/laravel-datatables#1488](https://github.com/yajra/laravel-datatables/pull/1488)

### Removed

- Disabled [package discovery](https://laravel.com/docs/5.5/packages#package-discovery) for the original datatables packages
- Removed `action` column in `datatables.stub` for the `datatables:make` command