Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yazan-alnugnugh/laravel-datatable
Laravel and Vue packages to create Data Table
https://github.com/yazan-alnugnugh/laravel-datatable
ajax ajax-table datagrid datagrid-realtimesearch datatables datatables-ajax datatables-serverside grid javascript laravel laravel-datatables laravel-package pagination php realtime-datatable search-table sorting vue-datatable vuejs
Last synced: about 1 month ago
JSON representation
Laravel and Vue packages to create Data Table
- Host: GitHub
- URL: https://github.com/yazan-alnugnugh/laravel-datatable
- Owner: yazan-alnugnugh
- License: mit
- Created: 2021-09-16T18:24:07.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T11:50:49.000Z (about 1 year ago)
- Last Synced: 2024-11-10T10:41:44.173Z (about 1 month ago)
- Topics: ajax, ajax-table, datagrid, datagrid-realtimesearch, datatables, datatables-ajax, datatables-serverside, grid, javascript, laravel, laravel-datatables, laravel-package, pagination, php, realtime-datatable, search-table, sorting, vue-datatable, vuejs
- Language: PHP
- Homepage:
- Size: 322 KB
- Stars: 37
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Supporting Laravel-vue-datatable
- [Become sponsor on Patreon](https://www.patreon.com/yazan_alnughnugh).
- [One-time donation via crypto-currencies](https://github.com/yazan-alnugnugh/laravel-datatable/blob/master/_docs/Donations/crypto/index.md).# Introduction
**if you want to create DataTable easy and quickly with crazy features, this package is for you.**
These two Laravel packages are for making easy and quickly DataTable for your work with several features like:
- Searching
- Sorting
- Adding New Relations
- Support for astrotomic/laravel-translatable Package: Seamlessly integrate with the astrotomic/laravel-translatable package for - multilingual support.
- Multiple Selections
- Delete/Delete All
- Restructuring Data
- Permission Access
- Response Notifications for Events
- PaginationThe goal is to create Datatable in easy way using ajax,
with interesting features, just with little steps, you can create it## Official Documentation
Documentation for Laravel Vue Datatable can be found here [here](https://packages.tourismcaravan.com/docs/2/data-table)
## Demo
[DataTable Demo](https://packages.tourismcaravan.com/data-table)
## Quick Example
### **Start create Grid Class**
```php
// app/DataGrid/PostGrid.phpnamespace App\\DataGrid;
use Yazan\DataTable\Mysql\Eloquent\Eloquent;
class PostGrid
{
use Eloquent;public $model = "App\\Models\\Post";
}
```
### **Make an instance from PostGrid class and return the collection**
```php
// app/Http/Controller/PostController.phppublic function all(Request $request)
{
$posts = (new PostGrid())->render();return ['success' => true, 'collection' => $posts];
}
```
### **use the data-table component in your blade**
```html
// resources/posts/index.blade.php
```