Remove datatables package

This commit is contained in:
Pig Fang 2018-08-19 17:53:54 +08:00
parent f6d022c377
commit 47a0a24a5e
6 changed files with 1 additions and 172 deletions

View File

@ -3,7 +3,6 @@
namespace App\Http\Controllers;
use Option;
use Datatables;
use App\Events;
use Carbon\Carbon;
use App\Models\User;

View File

@ -3,7 +3,6 @@
namespace App\Http\Controllers;
use View;
use Datatables;
use App\Events;
use App\Services\Plugin;
use Illuminate\Http\Request;

View File

@ -12,7 +12,6 @@
"laravel/framework": "5.6.*",
"nesbot/carbon": "^1.32.0",
"devitek/yaml-translation": "^4.1.0",
"printempw/laravel-datatables-lite": "^1.0",
"composer/semver": "^1.4",
"mews/captcha": "^2.2",
"guzzlehttp/guzzle": "^6.3"

123
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "741082b92c141e3879643e43fc92aa2f",
"content-hash": "53454be5162a6b99698b81d230e430d9",
"packages": [
{
"name": "composer/semver",
@ -922,70 +922,6 @@
],
"time": "2018-05-07T08:44:23+00:00"
},
{
"name": "league/fractal",
"version": "0.17.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/fractal.git",
"reference": "a0b350824f22fc2fdde2500ce9d6851a3f275b0e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/fractal/zipball/a0b350824f22fc2fdde2500ce9d6851a3f275b0e",
"reference": "a0b350824f22fc2fdde2500ce9d6851a3f275b0e",
"shasum": ""
},
"require": {
"php": ">=5.4"
},
"require-dev": {
"doctrine/orm": "^2.5",
"illuminate/contracts": "~5.0",
"mockery/mockery": "~0.9",
"pagerfanta/pagerfanta": "~1.0.0",
"phpunit/phpunit": "~4.0",
"squizlabs/php_codesniffer": "~1.5",
"zendframework/zend-paginator": "~2.3"
},
"suggest": {
"illuminate/pagination": "The Illuminate Pagination component.",
"pagerfanta/pagerfanta": "Pagerfanta Paginator",
"zendframework/zend-paginator": "Zend Framework Paginator"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "0.13-dev"
}
},
"autoload": {
"psr-4": {
"League\\Fractal\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Phil Sturgeon",
"email": "me@philsturgeon.uk",
"homepage": "http://philsturgeon.uk/",
"role": "Developer"
}
],
"description": "Handle the output of complex data structures ready for API output.",
"homepage": "http://fractal.thephpleague.com/",
"keywords": [
"api",
"json",
"league",
"rest"
],
"time": "2017-06-12T11:04:56+00:00"
},
{
"name": "mews/captcha",
"version": "2.2.0",
@ -1285,63 +1221,6 @@
],
"time": "2016-06-16T16:22:20+00:00"
},
{
"name": "printempw/laravel-datatables-lite",
"version": "v1.0.1",
"source": {
"type": "git",
"url": "https://github.com/printempw/laravel-datatables-lite.git",
"reference": "1f27c392178e0f1f6943d7534af25badfc59fd4e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/printempw/laravel-datatables-lite/zipball/1f27c392178e0f1f6943d7534af25badfc59fd4e",
"reference": "1f27c392178e0f1f6943d7534af25badfc59fd4e",
"shasum": ""
},
"require": {
"illuminate/database": "~5.0",
"illuminate/filesystem": "~5.0",
"illuminate/http": "~5.0",
"illuminate/support": "~5.0",
"illuminate/view": "~5.0",
"league/fractal": "~0.14",
"php": ">=5.5.9"
},
"require-dev": {
"mockery/mockery": "~0.9",
"phpunit/phpunit": "~4.0"
},
"suggest": {
"barryvdh/laravel-snappy": "Allows exporting of dataTable to PDF using the print view."
},
"type": "library",
"autoload": {
"psr-4": {
"Yajra\\Datatables\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Arjay Angeles",
"email": "aqangeles@gmail.com"
}
],
"description": "A lite version of yajra/laravel-datatables, with HTML builders & exporting removed.",
"keywords": [
"datatable",
"datatables",
"datatables jquery plugin",
"laravel",
"laravel4",
"laravel5"
],
"time": "2018-02-08T18:19:07+00:00"
},
{
"name": "psr/container",
"version": "1.0.0",

View File

@ -173,7 +173,6 @@ return [
* Third-party Libraries...
*/
Swiggles\Memcache\MemcacheServiceProvider::class,
Yajra\Datatables\DatatablesServiceProvider::class,
Mews\Captcha\CaptchaServiceProvider::class,
/**

View File

@ -1,46 +0,0 @@
<?php
return [
/**
* DataTables search options.
*/
'search' => [
/**
* Smart search will enclose search keyword with wildcard string "%keyword%".
* SQL: column LIKE "%keyword%"
*/
'smart' => true,
/**
* Case insensitive will search the keyword in lower case format.
* SQL: LOWER(column) LIKE LOWER(keyword)
*/
'case_insensitive' => true,
/**
* Wild card will add "%" in between every characters of the keyword.
* SQL: column LIKE "%k%e%y%w%o%r%d%"
*/
'use_wildcards' => false,
],
/**
* DataTables fractal configurations.
*/
'fractal' => [
/**
* Request key name to parse includes on fractal.
*/
'includes' => 'include',
/**
* Default fractal serializer.
*/
'serializer' => 'League\Fractal\Serializer\DataArraySerializer',
],
/**
* DataTables internal index id response column name.
*/
'index_column' => 'DT_Row_Index',
];