mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
add patreon api dep + config
This commit is contained in:
parent
fbd7519ce9
commit
ae01b9f355
@ -101,7 +101,14 @@ THROTTLE_MAX_REQUESTS_PER_SECOND=2
|
||||
###
|
||||
GITHUB_REPORTING=true
|
||||
GITHUB_REST="jikan-me/jikan-rest"
|
||||
GITHUB_API="jikan-me/jikan
|
||||
GITHUB_API="jikan-me/jikan"
|
||||
|
||||
###
|
||||
# Patreon API for fetching backers
|
||||
###
|
||||
PATREON=false
|
||||
PATREON_CLIENT_ID=
|
||||
PATREON_CLIENT_SECRET=
|
||||
|
||||
|
||||
SWAGGER_VERSION=3.0
|
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Middleware\SourceHeartbeatMonitor;
|
||||
use App\Providers\SerializerFactory;
|
||||
use PackageVersions\Versions;
|
||||
|
||||
@ -58,7 +59,6 @@ $app->singleton(
|
||||
App\Console\Kernel::class
|
||||
);
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register Middleware
|
||||
@ -77,7 +77,7 @@ $app->routeMiddleware([
|
||||
// 'throttle' => App\Http\Middleware\Throttle::class,
|
||||
// 'etag' => \App\Http\Middleware\EtagMiddleware::class,
|
||||
'microcaching' => \App\Http\Middleware\MicroCaching::class,
|
||||
'source-health-monitor' => \App\Http\Middleware\SourceHeartbeatMonitor::class
|
||||
'source-health-monitor' => SourceHeartbeatMonitor::class
|
||||
]);
|
||||
|
||||
/*
|
||||
|
@ -20,6 +20,7 @@
|
||||
"laravel/lumen-framework": "^7.0",
|
||||
"league/flysystem": "^1.0",
|
||||
"ocramius/package-versions": "^1.4",
|
||||
"patreon/patreon": "^1.0",
|
||||
"predis/predis": "^1.1",
|
||||
"symfony/yaml": "^4.1",
|
||||
"vlucas/phpdotenv": "^4",
|
||||
|
42
composer.lock
generated
42
composer.lock
generated
@ -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": "9318cd78b9c338d3a24ea12cb7488647",
|
||||
"content-hash": "15eb36300c7e1451ec09bd3a7fb565a8",
|
||||
"packages": [
|
||||
{
|
||||
"name": "brick/math",
|
||||
@ -3515,6 +3515,46 @@
|
||||
},
|
||||
"time": "2021-04-09T13:42:10+00:00"
|
||||
},
|
||||
{
|
||||
"name": "patreon/patreon",
|
||||
"version": "1.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Patreon/patreon-php.git",
|
||||
"reference": "206575a16ce9a447b79b2367e1d4991ce76202d2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Patreon/patreon-php/zipball/206575a16ce9a447b79b2367e1d4991ce76202d2",
|
||||
"reference": "206575a16ce9a447b79b2367e1d4991ce76202d2",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Patreon\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Patreon",
|
||||
"email": "platform-team@patreon.com"
|
||||
}
|
||||
],
|
||||
"description": "Interact with the Patreon API via OAuth.",
|
||||
"support": {
|
||||
"issues": "https://github.com/Patreon/patreon-php/issues",
|
||||
"source": "https://github.com/Patreon/patreon-php/tree/1.0.0"
|
||||
},
|
||||
"time": "2019-08-21T20:25:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpcollection/phpcollection",
|
||||
"version": "0.5.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user