Laravel 5.8

This commit is contained in:
Tyler 2020-12-21 02:21:20 -05:00
parent 390a06b195
commit 3449022d54
3 changed files with 577 additions and 338 deletions

View File

@ -12,7 +12,7 @@ class LookupController {
throw new HttpException(400); 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(); $google_books = new GoogleBooks();
return $google_books->lookup($isbn); return $google_books->lookup($isbn);

View File

@ -5,20 +5,22 @@
"license": "MIT", "license": "MIT",
"type": "project", "type": "project",
"require": { "require": {
"php": ">=7.0.0", "php": "^7.1.3",
"fideloper/proxy": "^4.0", "fideloper/proxy": "^4.0",
"google/apiclient": "^2.2", "google/apiclient": "^2.2",
"guzzlehttp/guzzle": "~6.0", "guzzlehttp/guzzle": "~6.0",
"laravel/framework": "5.6.*", "laravel/framework": "5.8.*",
"laravel/tinker": "~1.0", "laravel/tinker": "~1.0",
"sunra/php-simple-html-dom-parser": "^1.5", "sunra/php-simple-html-dom-parser": "^1.5",
"yajra/laravel-datatables-oracle": "~8.0" "yajra/laravel-datatables-oracle": "^9.0"
}, },
"require-dev": { "require-dev": {
"filp/whoops": "~2.0", "beyondcode/laravel-dump-server": "^1.0",
"fzaninotto/faker": "~1.4", "filp/whoops": "^2.0",
"mockery/mockery": "~1.0", "fzaninotto/faker": "^1.4",
"phpunit/phpunit": "~6.0" "mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
}, },
"autoload": { "autoload": {
"classmap": [ "classmap": [

897
composer.lock generated

File diff suppressed because it is too large Load Diff