• Stars
    star
    4,740
  • Rank 8,918 (Top 0.2 %)
  • Language
    PHP
  • License
    MIT License
  • Created about 11 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

jQuery DataTables API for Laravel

jQuery DataTables API for Laravel 4|5|6|7|8|9|10

Join the chat at https://gitter.im/yajra/laravel-datatables Donate Donate

Laravel 4.2|5.x|6|7|8|9|10 Latest Stable Version Latest Unstable Version Build Status Total Downloads License

Laravel package for handling server-side works of DataTables jQuery Plugin via AJAX option by using Eloquent ORM, Fluent Query Builder or Collection.

return datatables()->eloquent(User::query())->toJson();
return datatables()->query(DB::table('users'))->toJson();
return datatables()->collection(User::all())->toJson();

return datatables(User::query())->toJson();
return datatables(DB::table('users'))->toJson();
return datatables(User::all())->toJson();

Sponsors

DataTables JetBrains.com Blackfire.io

Requirements

Documentations

Laravel Version Compatibility

Laravel Package
4.2.x 3.x
5.0.x 6.x
5.1.x 6.x
5.2.x 6.x
5.3.x 6.x
5.4.x 7.x, 8.x
5.5.x 8.x
5.6.x 8.x
5.7.x 8.x
5.8.x 9.x
6.x.x 9.x
7.x.x 9.x
8.x.x 9.x
9.x.x 10.x
10.x.x 10.x

Quick Installation

composer require yajra/laravel-datatables-oracle:"^10.0"

Service Provider & Facade (Optional on Laravel 5.5+)

Register provider and facade on your config/app.php file.

'providers' => [
    ...,
    Yajra\DataTables\DataTablesServiceProvider::class,
]

'aliases' => [
    ...,
    'DataTables' => Yajra\DataTables\Facades\DataTables::class,
]

Configuration (Optional)

php artisan vendor:publish --provider="Yajra\DataTables\DataTablesServiceProvider"

And that's it! Start building out some awesome DataTables!

Debugging Mode

To enable debugging mode, just set APP_DEBUG=true and the package will include the queries and inputs used when processing the table.

IMPORTANT: Please make sure that APP_DEBUG is set to false when your app is on production.

PHP ARTISAN SERVE BUG

Please avoid using php artisan serve when developing with the package. There are known bugs when using this where Laravel randomly returns a redirect and 401 (Unauthorized) if the route requires authentication and a 404 NotFoundHttpException on valid routes.

It is advised to use Homestead or Valet when working with the package.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

More Repositories

1

laravel-oci8

Oracle DB driver for Laravel via OCI8
PHP
829
star
2

laravel-datatables-html

Laravel DataTables HTML Builder Plugin
PHP
272
star
3

laravel-datatables-buttons

Laravel DataTables Buttons Plugin
PHP
252
star
4

laravel-admin-template

Laravel 4.2 Bootstrap Admin Starter Template [with Oracle DB Support]
JavaScript
152
star
5

laravel-auditable

Basic Auditable package for Eloquent Model.
PHP
149
star
6

laravel-datatables-demo

Laravel Datatables Package Demo App
HTML
146
star
7

laravel-datatables-editor

Laravel DataTables Editor Integration.
PHP
115
star
8

laravel-acl

Laravel ACL is a simple role, permission ACL for Laravel Framework.
PHP
107
star
9

datatables

A package that installs the complete Laravel DataTables core & plugins.
PHP
96
star
10

laravel-datatables-fractal

Laravel DataTables Fractal Plugin.
PHP
95
star
11

laravel-datatables-docs

Laravel DaTatables package documentation
92
star
12

pdo-via-oci8

PHP PDO_OCI functions via OCI8 extension
PHP
88
star
13

laravel-disqus

A simple Disqus platform integration with Laravel.
PHP
84
star
14

laravel-address

Philippines Regions, Provinces, Cities and Barangays Address Lookup API for Laravel.
PHP
33
star
15

homestead-oracle

Laravel local development environment with Oracle XE 11g
Shell
31
star
16

laravel-datatables-export

Laravel DataTables Export plugin that uses queue, spout and livewire for bulk data export.
PHP
29
star
17

dt54

Laravel 5.4 DataTables Demo Application
PHP
24
star
18

laravel-datatables-vite

Laravel DataTables with Vite
JavaScript
20
star
19

cms-core

YajraCMS Core Module
PHP
19
star
20

zillow

A simple Laravel Wrapper for the Zillow API services.
PHP
15
star
21

laravel-datatables-scout

Laravel DataTables plugin to support Laravel Scout.
PHP
12
star
22

laravel-datatables-assets

A personal collection of DataTables server-side and client-side scripts.
JavaScript
10
star
23

laravel-datatables-ui

Laravel DataTables UI Preset
PHP
10
star
24

laravel-sql-loader

Oracle SQL*Loader for Laravel
PHP
9
star
25

yajrabox.com

Source code of yajrabox.com website.
PHP
7
star
26

laravel-4.1-starter-kit

Laravel 4.1 Starter Kit with Oracle DB Support
PHP
7
star
27

cms-themes

YajraCMS Themes Module
PHP
7
star
28

laravel-breadcrumbs

A simple Laravel style way to create breadcrumbs
PHP
6
star
29

laravel-datatables-tailwind-experiment

Blade
6
star
30

laravel-auditable-docs

Laravel Auditable Package Docs
5
star
31

laravel-oci8-docs

Laravel OCI8 package documentation
5
star
32

laravel-datatables-starter

Laravel 5.5 and DataTables starter kit.
PHP
5
star
33

laravel-acl-docs

Laravel ACL Docs
4
star
34

laravel-datatables-inertia

Laravel InertiaJS with DataTables
4
star
35

clean-blog

A clean blog theme for YajraCMS.
HTML
3
star
36

analytics-module

YajraCMS Google Analytics Module
HTML
2
star
37

yajra.github.io

HTML
1
star
38

laravel-datatables-compatibility

Laravel DataTables v8 plugin for v7 backward compatibility.
PHP
1
star
39

dt-searchpanes-demo

Laravel DataTables Server-Side searchPane demo
PHP
1
star
40

datatables.net-tailwindcss

jQuery DataTables using TailwindCSS with Editor support.
1
star