Files

82 lines
2.1 KiB
Plaintext
Raw Permalink Normal View History

2026-08-14 23:27:25 +08:00
APP_NAME=lgp-admin-plus
2016-08-19 07:20:12 -05:00
APP_ENV=local
2026-08-14 23:27:25 +08:00
APP_KEY=base64:pQ7mR2wYh4KdN8sZaJ6xVbT3fLcE9gUnO5rXi1DyBqM=
2014-12-15 13:07:32 -06:00
APP_DEBUG=true
2025-05-12 00:19:35 +08:00
APP_TIMEZONE=Asia/Shanghai
2016-08-19 07:20:12 -05:00
APP_URL=http://localhost
2025-05-12 00:19:35 +08:00
ECS=dev
2014-12-05 16:25:46 -06:00
2025-05-12 00:19:35 +08:00
APP_LOCALE=zh_CN
APP_FALLBACK_LOCALE=zh_CN
APP_FAKER_LOCALE=zh_CN
2024-01-22 16:28:43 -06:00
APP_MAINTENANCE_DRIVER=file
PHP_CLI_SERVER_WORKERS=4
2024-01-30 15:45:11 -06:00
BCRYPT_ROUNDS=12
2018-01-26 14:42:08 -06:00
LOG_CHANNEL=stack
[11.x] Slim skeleton (#6188) See: https://github.com/laravel/framework/pull/47309 # Laravel 11 Skeleton Overview ### General Notes More environment variables have been added to the `.env.example` file. The default `QUEUE_CONNECTION` variable value has been updated to `database` instead of `sync`. The `BROADCAST_DRIVER` and `CACHE_DRIVER` environment variables have been renamed to `BROADCAST_CONNECTION` and `CACHE_STORE`, respectively. The HTTP Kernel has been removed. Configuration that was previously done in this file can be done in the `bootstrap/app.php` file, including registering / replacing middleware. The console kernel has been removed. Schedules can be defined in the console “routes” file. Commands generated by `make:command` are automatically loaded and do not require registration. Additional command loading paths can be registered in the `bootstrap/app.php` file. The exception handler has been removed. Exception handling behavior can be configured in the `bootstrap/app.php` file via `reportable`, `renderable`, `throttle`, and more. Callbacks received by these functions will have their type hints inspected to see if they handle a given exception. The base HTTP controller no longer extends any other classes (requiring new middleware definition feature). No traits are included by default on the base controller. Authorization can be done using facades, or traits can be added manually. All middleware has been removed. Configuration of these middleware’s behavior can be done via static methods on the middleware themselves (see framework notes). The `User` model now utilizes a `casts` method instead of a property. The `HasApiTokens` trait has been removed by default since Sanctum is not installed by default. All service providers except the `AppServiceProvider` have been removed. Policies are auto-discovered and gates can be registered in `AppServiceProvider`. Likewise, events can be registered in `AppServiceProvider`. Routing behavior is now determined / customized in the `bootstrap/app.php` file. New `bootstrap/app.php` file can be used to customize core framework behavior like routing, container bindings, middleware, and exception handling. Sanctum is no longer installed by default (see `install:api`). Configuration files are not present by default. Can be published by `config:publish` command. Default values are present in the framework and application level configuration now cascades with framework definitions, so only customized values need be present in application level configuration files. Migration files have been re-dated to be evergreen. The `password_reset_tokens` table migration has been combined into the `users` table migration file. Likewise, the `jobs` table migration has been combined into a single migration with the `failed_jobs` table. Echo bootstrapping has been removed by default. It is re-inserted by new `install:broadcasting` command. API and channel routes files are not present by default, can be recreated by `install:api` and `install:broadcasting` respectively.
2023-11-28 14:28:15 -06:00
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
2018-01-04 15:28:26 -06:00
# 数据库:同一个库两个连接
2026-08-14 23:27:25 +08:00
# mysql 前缀 nl_ → 脚手架系统表
# business 前缀 cc_ → 业务表(见 config/database.php 的 business 连接)
2025-05-12 00:19:35 +08:00
DB_CONNECTION=mysql
DB_HOST=mysql8
DB_PORT=3306
2026-08-14 23:27:25 +08:00
DB_DATABASE=cc_new_stash
2025-05-12 00:19:35 +08:00
DB_USERNAME=root
DB_PASSWORD=root
2025-05-12 09:04:46 +08:00
DB_PREFIX=nl_
DB_BUSINESS_PREFIX=cc_
2026-08-14 23:27:25 +08:00
# 业务库既有表主用 utf8mb4_0900_ai_ci保持一致避免新建表混排序规则
DB_COLLATION=utf8mb4_0900_ai_ci
2014-12-05 16:25:46 -06:00
2025-05-12 00:19:35 +08:00
SESSION_DRIVER=file
2024-02-22 20:53:41 -06:00
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
[11.x] Slim skeleton (#6188) See: https://github.com/laravel/framework/pull/47309 # Laravel 11 Skeleton Overview ### General Notes More environment variables have been added to the `.env.example` file. The default `QUEUE_CONNECTION` variable value has been updated to `database` instead of `sync`. The `BROADCAST_DRIVER` and `CACHE_DRIVER` environment variables have been renamed to `BROADCAST_CONNECTION` and `CACHE_STORE`, respectively. The HTTP Kernel has been removed. Configuration that was previously done in this file can be done in the `bootstrap/app.php` file, including registering / replacing middleware. The console kernel has been removed. Schedules can be defined in the console “routes” file. Commands generated by `make:command` are automatically loaded and do not require registration. Additional command loading paths can be registered in the `bootstrap/app.php` file. The exception handler has been removed. Exception handling behavior can be configured in the `bootstrap/app.php` file via `reportable`, `renderable`, `throttle`, and more. Callbacks received by these functions will have their type hints inspected to see if they handle a given exception. The base HTTP controller no longer extends any other classes (requiring new middleware definition feature). No traits are included by default on the base controller. Authorization can be done using facades, or traits can be added manually. All middleware has been removed. Configuration of these middleware’s behavior can be done via static methods on the middleware themselves (see framework notes). The `User` model now utilizes a `casts` method instead of a property. The `HasApiTokens` trait has been removed by default since Sanctum is not installed by default. All service providers except the `AppServiceProvider` have been removed. Policies are auto-discovered and gates can be registered in `AppServiceProvider`. Likewise, events can be registered in `AppServiceProvider`. Routing behavior is now determined / customized in the `bootstrap/app.php` file. New `bootstrap/app.php` file can be used to customize core framework behavior like routing, container bindings, middleware, and exception handling. Sanctum is no longer installed by default (see `install:api`). Configuration files are not present by default. Can be published by `config:publish` command. Default values are present in the framework and application level configuration now cascades with framework definitions, so only customized values need be present in application level configuration files. Migration files have been re-dated to be evergreen. The `password_reset_tokens` table migration has been combined into the `users` table migration file. Likewise, the `jobs` table migration has been combined into a single migration with the `failed_jobs` table. Echo bootstrapping has been removed by default. It is re-inserted by new `install:broadcasting` command. API and channel routes files are not present by default, can be recreated by `install:api` and `install:broadcasting` respectively.
2023-11-28 14:28:15 -06:00
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
2024-02-22 20:53:41 -06:00
2025-05-12 00:19:35 +08:00
CACHE_STORE=redis
CACHE_PREFIX=
2015-02-22 19:48:52 -06:00
[11.x] Slim skeleton (#6188) See: https://github.com/laravel/framework/pull/47309 # Laravel 11 Skeleton Overview ### General Notes More environment variables have been added to the `.env.example` file. The default `QUEUE_CONNECTION` variable value has been updated to `database` instead of `sync`. The `BROADCAST_DRIVER` and `CACHE_DRIVER` environment variables have been renamed to `BROADCAST_CONNECTION` and `CACHE_STORE`, respectively. The HTTP Kernel has been removed. Configuration that was previously done in this file can be done in the `bootstrap/app.php` file, including registering / replacing middleware. The console kernel has been removed. Schedules can be defined in the console “routes” file. Commands generated by `make:command` are automatically loaded and do not require registration. Additional command loading paths can be registered in the `bootstrap/app.php` file. The exception handler has been removed. Exception handling behavior can be configured in the `bootstrap/app.php` file via `reportable`, `renderable`, `throttle`, and more. Callbacks received by these functions will have their type hints inspected to see if they handle a given exception. The base HTTP controller no longer extends any other classes (requiring new middleware definition feature). No traits are included by default on the base controller. Authorization can be done using facades, or traits can be added manually. All middleware has been removed. Configuration of these middleware’s behavior can be done via static methods on the middleware themselves (see framework notes). The `User` model now utilizes a `casts` method instead of a property. The `HasApiTokens` trait has been removed by default since Sanctum is not installed by default. All service providers except the `AppServiceProvider` have been removed. Policies are auto-discovered and gates can be registered in `AppServiceProvider`. Likewise, events can be registered in `AppServiceProvider`. Routing behavior is now determined / customized in the `bootstrap/app.php` file. New `bootstrap/app.php` file can be used to customize core framework behavior like routing, container bindings, middleware, and exception handling. Sanctum is no longer installed by default (see `install:api`). Configuration files are not present by default. Can be published by `config:publish` command. Default values are present in the framework and application level configuration now cascades with framework definitions, so only customized values need be present in application level configuration files. Migration files have been re-dated to be evergreen. The `password_reset_tokens` table migration has been combined into the `users` table migration file. Likewise, the `jobs` table migration has been combined into a single migration with the `failed_jobs` table. Echo bootstrapping has been removed by default. It is re-inserted by new `install:broadcasting` command. API and channel routes files are not present by default, can be recreated by `install:api` and `install:broadcasting` respectively.
2023-11-28 14:28:15 -06:00
REDIS_CLIENT=phpredis
2026-08-14 23:27:25 +08:00
REDIS_HOST=redis
REDIS_PASSWORD=redis_Q83eyF
2015-12-07 12:03:49 -06:00
REDIS_PORT=6379
2026-08-14 23:27:25 +08:00
QUEUE_CONNECTION=redis
2025-05-12 00:19:35 +08:00
2026-08-14 23:27:25 +08:00
MAIL_MAILER=log
MAIL_FROM_ADDRESS="noreply@borman.top"
MAIL_FROM_NAME="${APP_NAME}"
2025-05-12 00:19:35 +08:00
2026-08-14 23:27:25 +08:00
# 库内敏感字段 AES 密钥(密文前缀 nl_ase_256_
# 一旦有数据入库就不能再改,否则历史密文无法解密
ENCRYPT_KEY=8d41c7b0e5a29f63d84b17ce9052af38b6e0d7419c2af58e3b06d915748ca2ef
# JWT HS256 密钥(至少 32 字符)
JWT_SECRET=f92a5d6c4e8b1d70a35f9c2e64b8d017a3e5c9f2b48d61a07e3c95b28f4d6a1c
2026-08-10 15:51:00 +08:00
AI_DEFAULT_PROVIDER=deepseek
SPARK_API_PASSWORD=
DEEPSEEK_API_KEY=
# 小程序品牌声明(单品牌部署兜底用)
# 双品牌共用一份部署时,仍以 nl_wx_app 表 + 请求头 X-App-Code 分流为主
# AppSecret 不写这里,必须经后台「小程序应用配置」加密入库
2026-08-14 23:27:25 +08:00
WX_DEFAULT_APP_CODE=wl
WX_APP_ID=wx57b54060a579c31a
WX_APP_NAME=佛山铂尔曼
# weilun
# $this->appId = 'wx57b54060a579c31a';
# $this->appSecret = 'b1b1852d6c438893bfd2cc1cdd5114dc';
# boerman
# $this->appId = 'wx679d36842570cea7';
# $this->appSecret = '4f2bcb8ca2ed1aaa29ae82ce270338e3';