Skip to content

Commit 12c8882

Browse files
committed
Update introduction.
1 parent 9c97b54 commit 12c8882

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

introduction.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
# Introduction
22

3-
## jQuery DataTables API for Laravel
3+
<a name="laravel"></a>
4+
## Laravel
5+
The PHP Framework For Web Artisans.
6+
7+
Laravel is a web application framework with expressive, elegant syntax.
8+
We believe development must be an enjoyable, creative experience to be truly fulfilling.
9+
Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:
10+
11+
Official documentation of Laravel is available at [laravel.com](https://laravel.com/)
12+
13+
<a name="datatables"></a>
14+
## DataTables
15+
DataTables is a plug-in for the [jQuery](https://jquery.com/) Javascript library.
16+
It is a highly flexible tool, based upon the foundations of progressive enhancement, and will add advanced interaction controls to any HTML table.
17+
18+
Official documentation of DataTables is available at [datatables.net](https://datatables.net)
19+
20+
<a name="laravel-datatables"></a>
21+
## Laravel DataTables
422

523
[![Join the chat at https://gitter.im/yajra/laravel-datatables](https://badges.gitter.im/yajra/laravel-datatables.svg)](https://gitter.im/yajra/laravel-datatables?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
624
[![License](https://poser.pugx.org/yajra/laravel-datatables-oracle/license)](https://packagist.org/packages/yajra/laravel-datatables-oracle)
@@ -11,22 +29,6 @@
1129
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/yajra/laravel-datatables/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/yajra/laravel-datatables/?branch=master)
1230
[![Total Downloads](https://poser.pugx.org/yajra/laravel-datatables-oracle/downloads)](https://packagist.org/packages/yajra/laravel-datatables-oracle)
1331

14-
This package is created to handle [server-side](https://www.datatables.net/manual/server-side) works of [DataTables](http://datatables.net) jQuery Plugin via [AJAX option](https://datatables.net/reference/option/ajax) by using Eloquent ORM, Fluent Query Builder or Collection.
15-
16-
```php
17-
use Yajra\Datatables\Facades\Datatables;
18-
19-
// Using Eloquent
20-
return Datatables::eloquent(User::query())->make(true);
21-
22-
// Using Query Builder
23-
return Datatables::queryBuilder(DB::table('users'))->make(true);
32+
Laravel DataTables is a package that handles the [server-side](https://www.datatables.net/manual/server-side) works of [DataTables](http://datatables.net) using [Laravel](http://laravel.com).
2433

25-
// Using Collection
26-
return Datatables::collection(User::all())->make(true);
2734

28-
// Using the Engine Factory
29-
return Datatables::of(User::query())->make(true);
30-
return Datatables::of(DB::table('users'))->make(true);
31-
return Datatables::of(User::all())->make(true);
32-
```

0 commit comments

Comments
 (0)