mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 15:10:25 +00:00
update
This commit is contained in:
parent
38ada71ca7
commit
40868a74ce
4 changed files with 157 additions and 2 deletions
35
web/app/Console/Commands/SetIniSettings.php
Normal file
35
web/app/Console/Commands/SetIniSettings.php
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use Dotenv\Dotenv;
|
||||
use Illuminate\Console\Command;
|
||||
use Jelix\IniFile\IniModifier;
|
||||
|
||||
class SetIniSettings extends Command
|
||||
{
|
||||
/**
|
||||
* The name and signature of the console command.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'phyre:set-ini-settings';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Command description';
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
// $ini = new IniModifier('phyre-config.ini');
|
||||
// $ini->setValue('', '', 'phyre');
|
||||
// $ini->save();
|
||||
|
||||
}
|
||||
}
|
|
@ -16,6 +16,7 @@
|
|||
"filament/filament": "^3.0",
|
||||
"guzzlehttp/guzzle": "^7.2",
|
||||
"jaocero/radio-deck": "^1.2",
|
||||
"jelix/inifile": "^3.4",
|
||||
"laravel/framework": "^10.10",
|
||||
"laravel/sanctum": "^3.3",
|
||||
"laravel/tinker": "^2.8",
|
||||
|
|
55
web/composer.lock
generated
55
web/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": "e38d5d5d0adae1e32ecf184f9c90f933",
|
||||
"content-hash": "bc8f7e167f22d774934a3b1001c2fd83",
|
||||
"packages": [
|
||||
{
|
||||
"name": "acmephp/core",
|
||||
|
@ -2666,6 +2666,57 @@
|
|||
],
|
||||
"time": "2024-03-15T10:17:55+00:00"
|
||||
},
|
||||
{
|
||||
"name": "jelix/inifile",
|
||||
"version": "v3.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jelix/inifile.git",
|
||||
"reference": "645adc1a7abd0c21377f557c29eb5a4f723ab3c9"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/jelix/inifile/zipball/645adc1a7abd0c21377f557c29eb5a4f723ab3c9",
|
||||
"reference": "645adc1a7abd0c21377f557c29eb5a4f723ab3c9",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.6.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "8.5.* || 11.0.*"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Jelix\\IniFile\\": "lib/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"LGPL-2.1"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Laurent Jouanneau",
|
||||
"email": "laurent@jelix.org"
|
||||
},
|
||||
{
|
||||
"name": "Loic Mathaud"
|
||||
}
|
||||
],
|
||||
"description": "classes to read and modify ini files by preserving comments and empty lines",
|
||||
"homepage": "http://jelix.org",
|
||||
"keywords": [
|
||||
"files",
|
||||
"ini"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/jelix/inifile/issues",
|
||||
"source": "https://github.com/jelix/inifile/tree/v3.4.0"
|
||||
},
|
||||
"time": "2024-02-13T16:19:28+00:00"
|
||||
},
|
||||
{
|
||||
"name": "kirschbaum-development/eloquent-power-joins",
|
||||
"version": "3.5.6",
|
||||
|
@ -12383,5 +12434,5 @@
|
|||
"php": "^8.1"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.3.0"
|
||||
"plugin-api-version": "2.2.0"
|
||||
}
|
||||
|
|
68
web/phyre-config.ini.example
Normal file
68
web/phyre-config.ini.example
Normal file
|
@ -0,0 +1,68 @@
|
|||
[app]
|
||||
APP_NAME=PHYRE_PANEL
|
||||
APP_ENV=local
|
||||
APP_KEY=
|
||||
APP_DEBUG=true
|
||||
APP_URL="http://localhost"
|
||||
|
||||
[log]
|
||||
LOG_CHANNEL=stack
|
||||
LOG_DEPRECATIONS_CHANNEL=null
|
||||
LOG_LEVEL=debug
|
||||
|
||||
[database]
|
||||
DB_CONNECTION=mysql
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=
|
||||
DB_USERNAME=
|
||||
DB_PASSWORD=
|
||||
MYSQL_HOST=127.0.0.1
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_ROOT_USERNAME=
|
||||
MYSQL_ROOT_PASSWORD=
|
||||
|
||||
[cache]
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
FILESYSTEM_DISK=local
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
[mail]
|
||||
MAIL_MAILER=smtp
|
||||
MAIL_HOST=mailpit
|
||||
MAIL_PORT=1025
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
MAIL_FROM_ADDRESS="hello@example.com"
|
||||
MAIL_FROM_NAME=PHYRE_PANEL
|
||||
|
||||
[aws]
|
||||
AWS_ACCESS_KEY_ID=
|
||||
AWS_SECRET_ACCESS_KEY=
|
||||
AWS_DEFAULT_REGION=us-east-1
|
||||
AWS_BUCKET=
|
||||
AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||
|
||||
[pusher]
|
||||
PUSHER_APP_ID=
|
||||
PUSHER_APP_KEY=
|
||||
PUSHER_APP_SECRET=
|
||||
PUSHER_HOST=
|
||||
PUSHER_PORT=443
|
||||
PUSHER_SCHEME=https
|
||||
PUSHER_APP_CLUSTER=mt1
|
||||
|
||||
VITE_APP_NAME=PHYRE_PANEL
|
||||
VITE_PUSHER_APP_KEY=
|
||||
VITE_PUSHER_HOST=
|
||||
VITE_PUSHER_PORT=443
|
||||
VITE_PUSHER_SCHEME=https
|
||||
VITE_PUSHER_APP_CLUSTER=mt1
|
Loading…
Reference in a new issue