Laravel 5.8
This commit is contained in:
parent
390a06b195
commit
3449022d54
|
@ -12,7 +12,7 @@ class LookupController {
|
|||
throw new HttpException(400);
|
||||
}
|
||||
|
||||
return Cache::remember('isbn_' . $isbn, 1440, function() use ($isbn) {
|
||||
return Cache::remember('isbn_' . $isbn, 86400, function() use ($isbn) {
|
||||
$google_books = new GoogleBooks();
|
||||
|
||||
return $google_books->lookup($isbn);
|
||||
|
|
|
@ -5,20 +5,22 @@
|
|||
"license": "MIT",
|
||||
"type": "project",
|
||||
"require": {
|
||||
"php": ">=7.0.0",
|
||||
"php": "^7.1.3",
|
||||
"fideloper/proxy": "^4.0",
|
||||
"google/apiclient": "^2.2",
|
||||
"guzzlehttp/guzzle": "~6.0",
|
||||
"laravel/framework": "5.6.*",
|
||||
"laravel/framework": "5.8.*",
|
||||
"laravel/tinker": "~1.0",
|
||||
"sunra/php-simple-html-dom-parser": "^1.5",
|
||||
"yajra/laravel-datatables-oracle": "~8.0"
|
||||
"yajra/laravel-datatables-oracle": "^9.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"filp/whoops": "~2.0",
|
||||
"fzaninotto/faker": "~1.4",
|
||||
"mockery/mockery": "~1.0",
|
||||
"phpunit/phpunit": "~6.0"
|
||||
"beyondcode/laravel-dump-server": "^1.0",
|
||||
"filp/whoops": "^2.0",
|
||||
"fzaninotto/faker": "^1.4",
|
||||
"mockery/mockery": "^1.0",
|
||||
"nunomaduro/collision": "^2.0",
|
||||
"phpunit/phpunit": "^7.0"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue