mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
update to laravel 9
This commit is contained in:
@@ -175,7 +175,7 @@ return [
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
|
||||
App\Providers\GoogleDriveServiceProvider::class,
|
||||
// App\Providers\GoogleDriveServiceProvider::class,
|
||||
|
||||
],
|
||||
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'hosts' => [
|
||||
[
|
||||
'host' => env('ELASTICSEARCH_HOST','localhost'),
|
||||
'port' => env('ELASTICSEARCH_PORT','9200'),
|
||||
'scheme' => env('ELASTICSEARCH_SCHEME','https'),
|
||||
'user' => env('ELASTICSEARCH_USER','elastic'),
|
||||
'pass' => env('ELASTICSEARCH_PASS',''),
|
||||
]
|
||||
],
|
||||
|
||||
'ssl_verification' => env('ELASTICSEARCH_SSL_VERIFICATION', ''),
|
||||
];
|
||||
@@ -1,34 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
/*
|
||||
* There are different options for the connection. Since Explorer uses the Elasticsearch PHP SDK
|
||||
* under the hood, all the host configuration options of the SDK are applicable here. See
|
||||
* https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/configuration.html
|
||||
*/
|
||||
'connection' => [
|
||||
'host' => env('ELASTICSEARCH_HOST','localhost'),
|
||||
'port' => env('ELASTICSEARCH_PORT','9200'),
|
||||
'scheme' => env('ELASTICSEARCH_SCHEME','https'),
|
||||
'user' => env('ELASTICSEARCH_USER','elastic'),
|
||||
'pass' => env('ELASTICSEARCH_PASS',''),
|
||||
|
||||
],
|
||||
|
||||
/**
|
||||
* An index may be defined on an Eloquent model or inline below. A more in depth explanation
|
||||
* of the mapping possibilities can be found in the documentation of Explorer's repository.
|
||||
*/
|
||||
'indexes' => [
|
||||
\App\Models\Torrent::class,
|
||||
\App\Models\User::class,
|
||||
],
|
||||
|
||||
/**
|
||||
* You may opt to keep the old indices after the alias is pointed to a new index.
|
||||
* A model is only using index aliases if it implements the Aliased interface.
|
||||
*/
|
||||
'prune_old_aliases' => true,
|
||||
];
|
||||
68
config/lang-publisher.php
Normal file
68
config/lang-publisher.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the "laravel-lang/publisher" project.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @author Andrey Helldar <helldar@ai-rus.com>
|
||||
*
|
||||
* @copyright 2021 Andrey Helldar
|
||||
*
|
||||
* @license MIT
|
||||
*
|
||||
* @see https://github.com/Laravel-Lang/publisher
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
/*
|
||||
* Determines what type of files to use when updating language files.
|
||||
*
|
||||
* `true` means inline files will be used.
|
||||
* `false` means that default files will be used.
|
||||
*
|
||||
* The difference between them can be seen here:
|
||||
* @see https://github.com/Laravel-Lang/lang/blob/master/source/validation.php
|
||||
* @see https://github.com/Laravel-Lang/lang/blob/master/source/validation-inline.php
|
||||
*
|
||||
* By default, `false`.
|
||||
*/
|
||||
|
||||
'inline' => false,
|
||||
|
||||
/*
|
||||
* Do arrays need to be aligned by keys before processing arrays?
|
||||
*
|
||||
* By default, true
|
||||
*/
|
||||
|
||||
'alignment' => true,
|
||||
|
||||
// Key exclusion when combining.
|
||||
|
||||
'excludes' => [
|
||||
// 'auth' => ['throttle'],
|
||||
// 'pagination' => ['previous'],
|
||||
// 'passwords' => ['reset', 'throttled', 'user'],
|
||||
// '{locale}' => ['Confirm Password'],
|
||||
],
|
||||
|
||||
/*
|
||||
* Change key case.
|
||||
*
|
||||
* Available values:
|
||||
*
|
||||
* 0 - Case does not change
|
||||
* 1 - camelCase
|
||||
* 2 - snake_case
|
||||
* 3 - kebab-case
|
||||
* 4 - PascalCase
|
||||
*
|
||||
* By default, 0
|
||||
*/
|
||||
|
||||
'case' => 0,
|
||||
];
|
||||
@@ -35,7 +35,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'server' => env('OCTANE_SERVER', 'swoole'),
|
||||
'server' => env('OCTANE_SERVER', 'roadrunner'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user