v7.0.0-beta.1 release

This commit is contained in:
HeuJung committed 2026-04-01 10:30:52 +09:00
commit 6595fd0eb5
3967 files changed
+1875383

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| 활동 로그 활성화
|--------------------------------------------------------------------------
|
| 활동 로그 기록을 활성화/비활성화합니다.
| false로 설정하면 ActivityLogHandler에서 DB 저장을 건너뜁니다.
|
*/
'enabled' => env('ACTIVITY_LOG_ENABLED', true),
/*
|--------------------------------------------------------------------------
| 활동 로그 채널
|--------------------------------------------------------------------------
|
| config/logging.php에 정의된 Monolog 채널명입니다.
| 기본값 'activity'는 ActivityLogChannel을 통해 DB에 저장됩니다.
|
*/
'channel' => env('ACTIVITY_LOG_CHANNEL', 'activity'),
];
+236
View File
@@ -0,0 +1,236 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application, which will be used when the
| framework needs to place the application's name in a notification or
| other UI elements where an application name needs to be displayed.
|
*/
'name' => env('APP_NAME', '그누보드7'),
/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This may determine how you prefer to configure various
| services the application utilizes. Set this in your ".env" file.
|
*/
'env' => env('APP_ENV', 'production'),
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
*/
'debug' => (bool) env('APP_DEBUG', false),
/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
| the application so that it's available within Artisan commands.
|
*/
'url' => env('APP_URL', 'http://localhost'),
/*
|--------------------------------------------------------------------------
| Vite Development Server URL
|--------------------------------------------------------------------------
|
| This URL is used to connect to the Vite development server when
| running in development mode. Set this to your Vite dev server URL.
|
*/
'vite_dev_server_url' => env('VITE_DEV_SERVER_URL', 'http://localhost:5173'),
/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
| will be used by the PHP date and date-time functions. The timezone
| is set to "UTC" by default as it is suitable for most use cases.
|
*/
'timezone' => 'UTC',
/*
|--------------------------------------------------------------------------
| Default User Timezone
|--------------------------------------------------------------------------
|
| 사용자가 timezone을 설정하지 않은 경우 사용할 기본 timezone입니다.
| 한국 서비스 기준으로 Asia/Seoul을 기본값으로 사용합니다.
|
*/
'default_user_timezone' => env('APP_DEFAULT_USER_TIMEZONE', 'Asia/Seoul'),
/*
|--------------------------------------------------------------------------
| Supported Timezones
|--------------------------------------------------------------------------
|
| 시스템에서 지원하는 timezone 목록입니다.
| 사용자가 선택 가능한 timezone을 제한합니다.
|
*/
'supported_timezones' => [
'Asia/Seoul',
'Asia/Tokyo',
'America/New_York',
'America/Los_Angeles',
'Europe/London',
'Europe/Paris',
'UTC',
],
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by Laravel's translation / localization methods. This option can be
| set to any locale for which you plan to have translation strings.
|
*/
'locale' => env('APP_LOCALE', 'ko'),
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'ko'),
'faker_locale' => env('APP_FAKER_LOCALE', 'ko_KR'),
/*
|--------------------------------------------------------------------------
| Supported Locales
|--------------------------------------------------------------------------
|
| 시스템에서 지원하는 모든 언어 목록입니다.
| UI 언어 전환 등에 사용됩니다.
|
*/
'supported_locales' => ['ko', 'en'],
/*
|--------------------------------------------------------------------------
| Translatable Locales
|--------------------------------------------------------------------------
|
| 다국어 필드(name, description 등)에서 허용하는 언어 목록입니다.
| 번역 파일이 없어도 데이터 저장은 허용됩니다.
| 새로운 언어를 추가할 때는 이 배열에 언어 코드를 추가하세요.
|
*/
'translatable_locales' => ['ko', 'en'],
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| This key is utilized by Laravel's encryption services and should be set
| to a random, 32 character string to ensure that all encrypted values
| are secure. You should do this prior to deploying the application.
|
*/
'cipher' => 'AES-256-CBC',
'key' => env('APP_KEY'),
'previous_keys' => [
...array_filter(
explode(',', (string) env('APP_PREVIOUS_KEYS', ''))
),
],
/*
|--------------------------------------------------------------------------
| Maintenance Mode Driver
|--------------------------------------------------------------------------
|
| These configuration options determine the driver used to determine and
| manage Laravel's "maintenance mode" status. The "cache" driver will
| allow maintenance mode to be controlled across multiple machines.
|
| Supported drivers: "file", "cache"
|
*/
'maintenance' => [
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
'store' => env('APP_MAINTENANCE_STORE', 'database'),
],
/*
|--------------------------------------------------------------------------
| Application Version
|--------------------------------------------------------------------------
|
| This value is the version of your application.
|
*/
'version' => env('APP_VERSION', '7.0.0-beta.1'),
/*
|--------------------------------------------------------------------------
| Application Release Year
|--------------------------------------------------------------------------
|
| 소프트웨어 최초 출시 연도입니다. 저작권 표시에 사용됩니다.
|
*/
'release_year' => env('APP_RELEASE_YEAR', '2026'),
/*
|--------------------------------------------------------------------------
| Core Update Configuration
|--------------------------------------------------------------------------
|
| 코어 업데이트 관련 설정입니다.
|
*/
'update' => [
'github_url' => env('G7_UPDATE_GITHUB_URL', 'https://github.com/gnuboard/g7'),
'github_token' => env('G7_UPDATE_GITHUB_TOKEN', ''),
'pending_path' => env('G7_UPDATE_PENDING_PATH') ?: storage_path('app/core_pending'),
'targets' => array_filter(array_map('trim', explode(',', env('G7_UPDATE_TARGETS', 'app,bootstrap,config,database,docs,lang,resources,routes,public,tests,upgrades,artisan,composer.json,composer.json.default,composer.lock,package.json,package-lock.json,vite.config.js,vite.config.core.js,vitest.config.ts,tsconfig.json,phpunit.xml,.editorconfig,.gitattributes,.gitignore,README.md,CHANGELOG.md,modules/_bundled,plugins/_bundled,templates/_bundled')))),
'excludes' => array_filter(array_map('trim', explode(',', env('G7_UPDATE_EXCLUDES', 'node_modules,.git,bootstrap/cache')))),
'backup_only' => array_filter(array_map('trim', explode(',', env('G7_UPDATE_BACKUP_ONLY', 'vendor')))),
'backup_extra' => ['storage/app/settings'],
],
];
+39
View File
@@ -0,0 +1,39 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| 스토리지 디스크
|--------------------------------------------------------------------------
|
| 첨부파일 저장에 사용할 디스크를 지정합니다.
| config/filesystems.php에 정의된 디스크 이름을 사용합니다.
|
*/
'disk' => env('ATTACHMENT_DISK', 'attachments'),
/*
|--------------------------------------------------------------------------
| 기본 권한 정책
|--------------------------------------------------------------------------
|
| 역할이 지정되지 않은 첨부파일의 기본 권한 정책을 설정합니다.
|
| 옵션:
| - 'public': 모든 인증된 사용자에게 전체 권한 허용
| - 'owner_only': 업로더와 관리자만 접근 가능
| - 'read_only': 모든 인증된 사용자에게 read만 허용
|
*/
'default_permission_policy' => env('ATTACHMENT_DEFAULT_POLICY', 'public'),
/*
|--------------------------------------------------------------------------
| 최대 파일 크기
|--------------------------------------------------------------------------
|
| 업로드 가능한 최대 파일 크기 (KB 단위)
|
*/
'max_file_size' => env('ATTACHMENT_MAX_FILE_SIZE', 10240),
];
+133
View File
@@ -0,0 +1,133 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option defines the default authentication "guard" and password
| reset "broker" for your application. You may change these values
| as required, but they're a perfect start for most applications.
|
*/
'defaults' => [
'guard' => env('AUTH_GUARD', 'web'),
'passwords' => env('AUTH_PASSWORD_BROKER', 'users'),
],
/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| which utilizes session storage plus the Eloquent user provider.
|
| All authentication guards have a user provider, which defines how the
| users are actually retrieved out of your database or other storage
| system used by the application. Typically, Eloquent is utilized.
|
| Supported: "session"
|
*/
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
],
/*
|--------------------------------------------------------------------------
| User Providers
|--------------------------------------------------------------------------
|
| All authentication guards have a user provider, which defines how the
| users are actually retrieved out of your database or other storage
| system used by the application. Typically, Eloquent is utilized.
|
| If you have multiple user tables or models you may configure multiple
| providers to represent the model / table. These providers may then
| be assigned to any extra authentication guards you have defined.
|
| Supported: "database", "eloquent"
|
*/
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => env('AUTH_MODEL', App\Models\User::class),
],
// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',
// ],
],
/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| These configuration options specify the behavior of Laravel's password
| reset functionality, including the table utilized for token storage
| and the user provider that is invoked to actually retrieve users.
|
| The expiry time is the number of minutes that each reset token will be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
| The throttle setting is the number of seconds a user must wait before
| generating more password reset tokens. This prevents the user from
| quickly generating a very large amount of password reset tokens.
|
*/
'passwords' => [
'users' => [
'provider' => 'users',
'table' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'),
'expire' => 60,
'throttle' => 60,
],
],
/*
|--------------------------------------------------------------------------
| Password Confirmation Timeout
|--------------------------------------------------------------------------
|
| Here you may define the number of seconds before a password confirmation
| window expires and users are asked to re-enter their password via the
| confirmation screen. By default, the timeout lasts for three hours.
|
*/
'password_timeout' => env('AUTH_PASSWORD_TIMEOUT', 10800),
/*
|--------------------------------------------------------------------------
| API Rate Limiting (Throttle)
|--------------------------------------------------------------------------
|
| API 요청 속도 제한 설정입니다.
| 형식: "최대요청수,시간(분)" (예: "600,1" = 1분에 600번)
|
| admin: 관리자 API 속도 제한
| user: 일반 사용자 API 속도 제한
|
*/
'throttle' => [
'admin' => env('THROTTLE_ADMIN', '600,1'),
'user' => env('THROTTLE_USER', '600,1'),
],
];
+84
View File
@@ -0,0 +1,84 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an event needs to be broadcast. You may set this to
| any of the connections defined in the "connections" array below.
|
| Supported: "reverb", "pusher", "ably", "redis", "log", "null"
|
*/
'default' => env('BROADCAST_CONNECTION', 'null'),
/*
|--------------------------------------------------------------------------
| Broadcast Connections
|--------------------------------------------------------------------------
|
| Here you may define all of the broadcast connections that will be used
| to broadcast events to other systems or over WebSockets. Samples of
| each available type of connection are provided inside this array.
|
*/
'connections' => [
'reverb' => [
'driver' => 'reverb',
'key' => env('REVERB_APP_KEY'),
'secret' => env('REVERB_APP_SECRET'),
'app_id' => env('REVERB_APP_ID'),
'options' => [
'host' => env('REVERB_HOST'),
'port' => env('REVERB_PORT', 443),
'scheme' => env('REVERB_SCHEME', 'https'),
'useTLS' => env('REVERB_SCHEME', 'https') === 'https',
],
'client_options' => [
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
// 개발 환경에서 자체 서명 인증서 사용 시 SSL 검증 비활성화
'verify' => env('REVERB_VERIFY_SSL', true),
],
],
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'),
'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
'port' => env('PUSHER_PORT', 443),
'scheme' => env('PUSHER_SCHEME', 'https'),
'encrypted' => true,
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
],
'client_options' => [
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
],
],
'ably' => [
'driver' => 'ably',
'key' => env('ABLY_KEY'),
],
'log' => [
'driver' => 'log',
],
'null' => [
'driver' => 'null',
],
],
];
+108
View File
@@ -0,0 +1,108 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache store that will be used by the
| framework. This connection is utilized if another isn't explicitly
| specified when running a cache operation inside the application.
|
*/
'default' => env('CACHE_STORE', 'file'),
/*
|--------------------------------------------------------------------------
| Cache Stores
|--------------------------------------------------------------------------
|
| Here you may define all of the cache "stores" for your application as
| well as their drivers. You may even define multiple stores for the
| same cache driver to group types of items stored in your caches.
|
| Supported drivers: "array", "database", "file", "memcached",
| "redis", "dynamodb", "octane", "null"
|
*/
'stores' => [
'array' => [
'driver' => 'array',
'serialize' => false,
],
'database' => [
'driver' => 'database',
'connection' => env('DB_CACHE_CONNECTION'),
'table' => env('DB_CACHE_TABLE', 'cache'),
'lock_connection' => env('DB_CACHE_LOCK_CONNECTION'),
'lock_table' => env('DB_CACHE_LOCK_TABLE'),
],
'file' => [
'driver' => 'file',
'path' => storage_path('framework/cache/data'),
'lock_path' => storage_path('framework/cache/data'),
],
'memcached' => [
'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
'options' => [
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
],
'servers' => [
[
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
'port' => env('MEMCACHED_PORT', 11211),
'weight' => 100,
],
],
],
'redis' => [
'driver' => 'redis',
'connection' => env('REDIS_CACHE_CONNECTION', 'cache'),
'lock_connection' => env('REDIS_CACHE_LOCK_CONNECTION', 'default'),
],
'dynamodb' => [
'driver' => 'dynamodb',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
'endpoint' => env('DYNAMODB_ENDPOINT'),
],
'octane' => [
'driver' => 'octane',
],
],
/*
|--------------------------------------------------------------------------
| Cache Key Prefix
|--------------------------------------------------------------------------
|
| When utilizing the APC, database, memcached, Redis, and DynamoDB cache
| stores, there might be other applications using the same cache. For
| that reason, you may prefix every cache key to avoid collisions.
|
*/
'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-cache-'),
];
+432
View File
@@ -0,0 +1,432 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| 코어 권한 정의
|--------------------------------------------------------------------------
| RolePermissionSeeder 및 CoreUpdateService::syncCoreRolesAndPermissions()에서 사용
| 새 권한 추가 시 이 배열에 추가하면 설치/업데이트 모두 반영됩니다.
|
| 구조: 모듈(1레벨) → 카테고리(2레벨) → 개별 권한(3레벨)
*/
'permissions' => [
// 1레벨: 코어 모듈
'module' => [
'identifier' => 'core',
'name' => ['ko' => '코어', 'en' => 'Core'],
'description' => ['ko' => '코어 시스템 권한', 'en' => 'Core system permissions'],
'order' => 1,
],
// 2레벨: 카테고리들 + 3레벨: 개별 권한
'categories' => [
[
'identifier' => 'core.users',
'name' => ['ko' => '사용자 관리', 'en' => 'User Management'],
'description' => ['ko' => '사용자 관리 권한', 'en' => 'User management permissions'],
'category' => 'users',
'order' => 1,
'permissions' => [
['identifier' => 'core.users.read', 'name' => ['ko' => '사용자 조회', 'en' => 'View Users'], 'description' => ['ko' => '사용자 목록 및 상세 정보를 조회할 수 있습니다.', 'en' => 'Can view user list and details.'], 'order' => 1, 'resource_route_key' => 'user', 'owner_key' => 'id'],
['identifier' => 'core.users.create', 'name' => ['ko' => '사용자 생성', 'en' => 'Create Users'], 'description' => ['ko' => '새로운 사용자를 생성할 수 있습니다.', 'en' => 'Can create new users.'], 'order' => 2],
['identifier' => 'core.users.update', 'name' => ['ko' => '사용자 수정', 'en' => 'Update Users'], 'description' => ['ko' => '사용자 정보를 수정할 수 있습니다.', 'en' => 'Can update user information.'], 'order' => 3, 'resource_route_key' => 'user', 'owner_key' => 'id'],
['identifier' => 'core.users.delete', 'name' => ['ko' => '사용자 삭제', 'en' => 'Delete Users'], 'description' => ['ko' => '사용자를 삭제할 수 있습니다.', 'en' => 'Can delete users.'], 'order' => 4, 'resource_route_key' => 'user', 'owner_key' => 'id'],
],
],
[
'identifier' => 'core.menus',
'name' => ['ko' => '메뉴 관리', 'en' => 'Menu Management'],
'description' => ['ko' => '메뉴 관리 권한', 'en' => 'Menu management permissions'],
'category' => 'menus',
'order' => 2,
'permissions' => [
['identifier' => 'core.menus.read', 'name' => ['ko' => '메뉴 조회', 'en' => 'View Menus'], 'description' => ['ko' => '메뉴 목록을 조회할 수 있습니다.', 'en' => 'Can view menu list.'], 'order' => 1, 'resource_route_key' => 'menu', 'owner_key' => 'created_by'],
['identifier' => 'core.menus.create', 'name' => ['ko' => '메뉴 생성', 'en' => 'Create Menus'], 'description' => ['ko' => '새로운 메뉴를 생성할 수 있습니다.', 'en' => 'Can create new menus.'], 'order' => 2],
['identifier' => 'core.menus.update', 'name' => ['ko' => '메뉴 수정', 'en' => 'Update Menus'], 'description' => ['ko' => '메뉴 정보를 수정할 수 있습니다.', 'en' => 'Can update menu information.'], 'order' => 3, 'resource_route_key' => 'menu', 'owner_key' => 'created_by'],
['identifier' => 'core.menus.delete', 'name' => ['ko' => '메뉴 삭제', 'en' => 'Delete Menus'], 'description' => ['ko' => '메뉴를 삭제할 수 있습니다.', 'en' => 'Can delete menus.'], 'order' => 4, 'resource_route_key' => 'menu', 'owner_key' => 'created_by'],
],
],
[
'identifier' => 'core.modules',
'name' => ['ko' => '모듈 관리', 'en' => 'Module Management'],
'description' => ['ko' => '모듈 관리 권한', 'en' => 'Module management permissions'],
'category' => 'modules',
'order' => 3,
'permissions' => [
['identifier' => 'core.modules.read', 'name' => ['ko' => '모듈 조회', 'en' => 'View Modules'], 'description' => ['ko' => '모듈 목록을 조회할 수 있습니다.', 'en' => 'Can view module list.'], 'order' => 1],
['identifier' => 'core.modules.install', 'name' => ['ko' => '모듈 설치', 'en' => 'Install Modules'], 'description' => ['ko' => '새로운 모듈을 설치할 수 있습니다.', 'en' => 'Can install new modules.'], 'order' => 2],
['identifier' => 'core.modules.activate', 'name' => ['ko' => '모듈 활성화', 'en' => 'Activate Modules'], 'description' => ['ko' => '모듈을 활성화/비활성화할 수 있습니다.', 'en' => 'Can activate/deactivate modules.'], 'order' => 3],
['identifier' => 'core.modules.uninstall', 'name' => ['ko' => '모듈 삭제', 'en' => 'Uninstall Modules'], 'description' => ['ko' => '모듈을 삭제할 수 있습니다.', 'en' => 'Can uninstall modules.'], 'order' => 4],
],
],
[
'identifier' => 'core.plugins',
'name' => ['ko' => '플러그인 관리', 'en' => 'Plugin Management'],
'description' => ['ko' => '플러그인 관리 권한', 'en' => 'Plugin management permissions'],
'category' => 'plugins',
'order' => 4,
'permissions' => [
['identifier' => 'core.plugins.read', 'name' => ['ko' => '플러그인 조회', 'en' => 'View Plugins'], 'description' => ['ko' => '플러그인 목록을 조회할 수 있습니다.', 'en' => 'Can view plugin list.'], 'order' => 1],
['identifier' => 'core.plugins.install', 'name' => ['ko' => '플러그인 설치', 'en' => 'Install Plugins'], 'description' => ['ko' => '새로운 플러그인을 설치할 수 있습니다.', 'en' => 'Can install new plugins.'], 'order' => 2],
['identifier' => 'core.plugins.activate', 'name' => ['ko' => '플러그인 활성화', 'en' => 'Activate Plugins'], 'description' => ['ko' => '플러그인을 활성화/비활성화할 수 있습니다.', 'en' => 'Can activate/deactivate plugins.'], 'order' => 3],
['identifier' => 'core.plugins.update', 'name' => ['ko' => '플러그인 설정', 'en' => 'Configure Plugins'], 'description' => ['ko' => '플러그인 환경설정을 수정할 수 있습니다.', 'en' => 'Can update plugin settings.'], 'order' => 4],
['identifier' => 'core.plugins.uninstall', 'name' => ['ko' => '플러그인 삭제', 'en' => 'Uninstall Plugins'], 'description' => ['ko' => '플러그인을 삭제할 수 있습니다.', 'en' => 'Can uninstall plugins.'], 'order' => 5],
],
],
[
'identifier' => 'core.templates',
'name' => ['ko' => '템플릿 관리', 'en' => 'Template Management'],
'description' => ['ko' => '템플릿 관리 권한', 'en' => 'Template management permissions'],
'category' => 'templates',
'order' => 5,
'permissions' => [
['identifier' => 'core.templates.read', 'name' => ['ko' => '템플릿 조회', 'en' => 'View Templates'], 'description' => ['ko' => '템플릿 목록을 조회할 수 있습니다.', 'en' => 'Can view template list.'], 'order' => 1],
['identifier' => 'core.templates.install', 'name' => ['ko' => '템플릿 설치', 'en' => 'Install Templates'], 'description' => ['ko' => '새로운 템플릿을 설치할 수 있습니다.', 'en' => 'Can install new templates.'], 'order' => 2],
['identifier' => 'core.templates.activate', 'name' => ['ko' => '템플릿 활성화', 'en' => 'Activate Templates'], 'description' => ['ko' => '템플릿을 활성화/비활성화할 수 있습니다.', 'en' => 'Can activate/deactivate templates.'], 'order' => 3],
['identifier' => 'core.templates.uninstall', 'name' => ['ko' => '템플릿 삭제', 'en' => 'Uninstall Templates'], 'description' => ['ko' => '템플릿을 삭제할 수 있습니다.', 'en' => 'Can uninstall templates.'], 'order' => 4],
['identifier' => 'core.templates.layouts.edit', 'name' => ['ko' => '레이아웃 편집', 'en' => 'Edit Layouts'], 'description' => ['ko' => '템플릿 레이아웃을 편집할 수 있습니다.', 'en' => 'Can edit template layouts.'], 'order' => 5],
],
],
[
'identifier' => 'core.permissions',
'name' => ['ko' => '권한 관리', 'en' => 'Permission Management'],
'description' => ['ko' => '역할 및 권한 관리 권한', 'en' => 'Role and permission management permissions'],
'category' => 'permissions',
'order' => 6,
'permissions' => [
['identifier' => 'core.permissions.read', 'name' => ['ko' => '권한 조회', 'en' => 'View Permissions'], 'description' => ['ko' => '역할 및 권한 목록을 조회할 수 있습니다.', 'en' => 'Can view roles and permissions.'], 'order' => 1],
['identifier' => 'core.permissions.create', 'name' => ['ko' => '역할 생성', 'en' => 'Create Roles'], 'description' => ['ko' => '새로운 역할을 생성할 수 있습니다.', 'en' => 'Can create new roles.'], 'order' => 2],
['identifier' => 'core.permissions.update', 'name' => ['ko' => '역할 수정', 'en' => 'Update Roles'], 'description' => ['ko' => '역할 정보와 권한을 수정할 수 있습니다.', 'en' => 'Can update role information and permissions.'], 'order' => 3],
['identifier' => 'core.permissions.delete', 'name' => ['ko' => '역할 삭제', 'en' => 'Delete Roles'], 'description' => ['ko' => '역할을 삭제할 수 있습니다.', 'en' => 'Can delete roles.'], 'order' => 4],
],
],
[
'identifier' => 'core.mail-send-logs',
'name' => ['ko' => '메일 발송 이력', 'en' => 'Mail Send Logs'],
'description' => ['ko' => '메일 발송 이력 관리 권한', 'en' => 'Mail send log management permissions'],
'category' => 'mail-send-logs',
'order' => 7,
'permissions' => [
['identifier' => 'core.mail-send-logs.read', 'name' => ['ko' => '발송 이력 조회', 'en' => 'View Mail Send Logs'], 'description' => ['ko' => '메일 발송 이력을 조회할 수 있습니다.', 'en' => 'Can view mail send logs.'], 'order' => 1],
['identifier' => 'core.mail-send-logs.delete', 'name' => ['ko' => '발송 이력 삭제', 'en' => 'Delete Mail Send Logs'], 'description' => ['ko' => '메일 발송 이력을 삭제할 수 있습니다.', 'en' => 'Can delete mail send logs.'], 'order' => 2],
],
],
[
'identifier' => 'core.settings',
'name' => ['ko' => '환경설정', 'en' => 'Settings'],
'description' => ['ko' => '시스템 환경설정 권한', 'en' => 'System settings permissions'],
'category' => 'settings',
'order' => 8,
'permissions' => [
['identifier' => 'core.settings.read', 'name' => ['ko' => '설정 조회', 'en' => 'View Settings'], 'description' => ['ko' => '시스템 설정을 조회할 수 있습니다.', 'en' => 'Can view system settings.'], 'order' => 1],
['identifier' => 'core.settings.update', 'name' => ['ko' => '설정 수정', 'en' => 'Update Settings'], 'description' => ['ko' => '시스템 설정을 수정할 수 있습니다.', 'en' => 'Can update system settings.'], 'order' => 2],
],
],
[
'identifier' => 'core.dashboard',
'name' => ['ko' => '대시보드', 'en' => 'Dashboard'],
'description' => ['ko' => '대시보드 접근 권한', 'en' => 'Dashboard access permissions'],
'category' => 'dashboard',
'order' => 9,
'permissions' => [
['identifier' => 'core.dashboard.read', 'name' => ['ko' => '대시보드 조회', 'en' => 'View Dashboard'], 'description' => ['ko' => '대시보드 통계 및 정보를 조회할 수 있습니다.', 'en' => 'Can view dashboard statistics and information.'], 'order' => 1],
['identifier' => 'core.dashboard.system-status', 'name' => ['ko' => '시스템 상태', 'en' => 'System Status'], 'description' => ['ko' => '시스템 상태 정보를 조회할 수 있습니다.', 'en' => 'Can view system status information.'], 'order' => 2],
['identifier' => 'core.dashboard.resources', 'name' => ['ko' => '시스템 리소스', 'en' => 'System Resources'], 'description' => ['ko' => 'CPU, 메모리, 디스크 사용량을 조회할 수 있습니다.', 'en' => 'Can view CPU, memory, and disk usage.'], 'order' => 3],
['identifier' => 'core.dashboard.activities', 'name' => ['ko' => '최근 활동', 'en' => 'Recent Activities'], 'description' => ['ko' => '최근 활동 이력을 조회할 수 있습니다.', 'en' => 'Can view recent activity history.'], 'order' => 4, 'resource_route_key' => 'activityLog', 'owner_key' => 'user_id'],
['identifier' => 'core.dashboard.alerts', 'name' => ['ko' => '시스템 알림', 'en' => 'System Alerts'], 'description' => ['ko' => '시스템 알림을 조회할 수 있습니다.', 'en' => 'Can view system alerts.'], 'order' => 5],
],
],
[
'identifier' => 'core.activities',
'name' => ['ko' => '활동 로그', 'en' => 'Activity Logs'],
'description' => ['ko' => '활동 로그 조회 권한', 'en' => 'Activity log access permissions'],
'category' => 'activities',
'order' => 10,
'permissions' => [
['identifier' => 'core.activities.read', 'name' => ['ko' => '활동 로그 조회', 'en' => 'View Activity Logs'], 'description' => ['ko' => '활동 로그를 조회할 수 있습니다.', 'en' => 'Can view activity logs.'], 'order' => 1, 'resource_route_key' => 'activityLog', 'owner_key' => 'user_id'],
['identifier' => 'core.activities.delete', 'name' => ['ko' => '활동 로그 삭제', 'en' => 'Delete Activity Logs'], 'description' => ['ko' => '활동 로그를 삭제할 수 있습니다.', 'en' => 'Can delete activity logs.'], 'order' => 2],
],
],
[
'identifier' => 'core.attachments',
'name' => ['ko' => '첨부파일 관리', 'en' => 'Attachment Management'],
'description' => ['ko' => '첨부파일 관리 권한', 'en' => 'Attachment management permissions'],
'category' => 'attachments',
'order' => 11,
'permissions' => [
['identifier' => 'core.attachments.create', 'name' => ['ko' => '첨부파일 업로드', 'en' => 'Upload Attachments'], 'description' => ['ko' => '첨부파일을 업로드할 수 있습니다.', 'en' => 'Can upload attachments.'], 'order' => 1],
['identifier' => 'core.attachments.update', 'name' => ['ko' => '첨부파일 수정', 'en' => 'Update Attachments'], 'description' => ['ko' => '첨부파일 정보 및 순서를 수정할 수 있습니다.', 'en' => 'Can update attachment information and order.'], 'order' => 2, 'resource_route_key' => 'attachment', 'owner_key' => 'created_by'],
['identifier' => 'core.attachments.delete', 'name' => ['ko' => '첨부파일 삭제', 'en' => 'Delete Attachments'], 'description' => ['ko' => '첨부파일을 삭제할 수 있습니다.', 'en' => 'Can delete attachments.'], 'order' => 3, 'resource_route_key' => 'attachment', 'owner_key' => 'created_by'],
],
],
[
'identifier' => 'core.schedules',
'name' => ['ko' => '스케줄 관리', 'en' => 'Schedule Management'],
'description' => ['ko' => '스케줄 작업 관리 권한', 'en' => 'Schedule task management permissions'],
'category' => 'schedules',
'order' => 12,
'permissions' => [
['identifier' => 'core.schedules.read', 'name' => ['ko' => '스케줄 조회', 'en' => 'View Schedules'], 'description' => ['ko' => '스케줄 목록 및 상세 정보를 조회할 수 있습니다.', 'en' => 'Can view schedule list and details.'], 'order' => 1],
['identifier' => 'core.schedules.create', 'name' => ['ko' => '스케줄 생성', 'en' => 'Create Schedules'], 'description' => ['ko' => '새로운 스케줄을 생성할 수 있습니다.', 'en' => 'Can create new schedules.'], 'order' => 2],
['identifier' => 'core.schedules.update', 'name' => ['ko' => '스케줄 수정', 'en' => 'Update Schedules'], 'description' => ['ko' => '스케줄 정보를 수정할 수 있습니다.', 'en' => 'Can update schedule information.'], 'order' => 3],
['identifier' => 'core.schedules.delete', 'name' => ['ko' => '스케줄 삭제', 'en' => 'Delete Schedules'], 'description' => ['ko' => '스케줄을 삭제할 수 있습니다.', 'en' => 'Can delete schedules.'], 'order' => 4],
['identifier' => 'core.schedules.run', 'name' => ['ko' => '스케줄 실행', 'en' => 'Run Schedules'], 'description' => ['ko' => '스케줄을 수동으로 실행할 수 있습니다.', 'en' => 'Can manually run schedules.'], 'order' => 5],
],
],
],
],
/*
|--------------------------------------------------------------------------
| 코어 역할 정의
|--------------------------------------------------------------------------
| RolePermissionSeeder 및 CoreUpdateService::syncCoreRolesAndPermissions()에서 사용
*/
'roles' => [
[
'identifier' => 'admin',
'name' => ['ko' => '관리자', 'en' => 'Administrator'],
'description' => ['ko' => '시스템의 모든 기능에 접근할 수 있는 최고 관리자입니다.', 'en' => 'Super administrator with access to all system features.'],
'attributes' => ['is_active' => true],
'permissions' => 'all_leaf', // 모든 리프 권한 할당
],
[
'identifier' => 'manager',
'name' => ['ko' => '매니저', 'en' => 'Manager'],
'description' => ['ko' => '콘텐츠 및 사용자 관리 권한을 가진 관리자입니다.', 'en' => 'Manager with content and user management permissions.'],
'attributes' => ['is_active' => true],
'permissions' => [
'core.users.read', 'core.users.create', 'core.users.update',
'core.menus.read', 'core.menus.create', 'core.menus.update',
'core.dashboard.read',
'core.dashboard.system-status',
'core.dashboard.activities',
'core.activities.read',
'core.attachments.create', 'core.attachments.update', 'core.attachments.delete',
'core.mail-send-logs.read',
],
// 권한별 스코프 지정 (self: 본인 소유만, role: 같은 역할 범위, 미지정: 전체)
'permission_scopes' => [
'core.users.read' => 'self',
'core.users.update' => 'self',
'core.activities.read' => 'self',
'core.attachments.update' => 'self',
'core.attachments.delete' => 'self',
],
],
[
'identifier' => 'user',
'name' => ['ko' => '일반 사용자', 'en' => 'User'],
'description' => ['ko' => '기본 사용자 역할입니다.', 'en' => 'Default user role.'],
'attributes' => ['is_active' => true],
'permissions' => [],
],
[
'identifier' => 'guest',
'name' => ['ko' => '비회원', 'en' => 'Guest'],
'description' => [
'ko' => '인증되지 않은 사용자 역할입니다. 관리자가 권한을 부여할 수 있습니다.',
'en' => 'Unauthenticated user role. Permissions can be granted by administrators.',
],
'attributes' => ['is_active' => true],
'permissions' => [],
],
],
/*
|--------------------------------------------------------------------------
| 코어 메뉴 정의
|--------------------------------------------------------------------------
| CoreAdminMenuSeeder 및 CoreUpdateService::syncCoreMenus()에서 사용
*/
'menus' => [
[
'slug' => 'admin-dashboard',
'name' => ['ko' => '대시보드', 'en' => 'Dashboard'],
'url' => '/admin/dashboard',
'icon' => 'fas fa-tachometer-alt',
'parent_id' => null,
'order' => 1,
'is_active' => true,
],
[
'slug' => 'admin-settings',
'name' => ['ko' => '환경설정', 'en' => 'Settings'],
'url' => '/admin/settings',
'icon' => 'fas fa-cog',
'parent_id' => null,
'order' => 2,
'is_active' => true,
],
[
'slug' => 'admin-mail-send-logs',
'name' => ['ko' => '메일 발송 이력', 'en' => 'Mail Send Logs'],
'url' => '/admin/mail-send-logs',
'icon' => 'fas fa-paper-plane',
'parent_id' => null,
'order' => 3,
'is_active' => true,
],
[
'slug' => 'admin-activity-logs',
'name' => ['ko' => '활동 로그', 'en' => 'Activity Logs'],
'url' => '/admin/activity-logs',
'icon' => 'fas fa-history',
'parent_id' => null,
'order' => 4,
'is_active' => true,
],
[
'slug' => 'admin-menus',
'name' => ['ko' => '메뉴 관리', 'en' => 'Menu Management'],
'url' => '/admin/menus',
'icon' => 'fas fa-bars',
'parent_id' => null,
'order' => 5,
'is_active' => true,
],
[
'slug' => 'admin-users',
'name' => ['ko' => '사용자 관리', 'en' => 'User Management'],
'url' => '/admin/users',
'icon' => 'fas fa-users',
'parent_id' => null,
'order' => 6,
'is_active' => true,
],
[
'slug' => 'admin-roles',
'name' => ['ko' => '권한 관리', 'en' => 'Permission Management'],
'url' => '/admin/roles',
'icon' => 'fas fa-lock',
'parent_id' => null,
'order' => 7,
'is_active' => true,
],
[
'slug' => 'admin-modules',
'name' => ['ko' => '모듈 관리', 'en' => 'Module Management'],
'url' => '/admin/modules',
'icon' => 'fas fa-cube',
'parent_id' => null,
'order' => 8,
'is_active' => true,
],
[
'slug' => 'admin-plugins',
'name' => ['ko' => '플러그인 관리', 'en' => 'Plugin Management'],
'url' => '/admin/plugins',
'icon' => 'fas fa-puzzle-piece',
'parent_id' => null,
'order' => 9,
'is_active' => true,
],
[
'slug' => 'admin-templates',
'name' => ['ko' => '템플릿 관리', 'en' => 'Template Management'],
'url' => '/admin/templates',
'icon' => 'fas fa-palette',
'parent_id' => null,
'order' => 10,
'is_active' => true,
],
[
'slug' => 'admin-schedules',
'name' => ['ko' => '스케쥴 관리', 'en' => 'Schedule Management'],
'url' => '/admin/schedules',
'icon' => 'fas fa-clock',
'parent_id' => null,
'order' => 10,
'is_active' => false,
],
],
/*
|--------------------------------------------------------------------------
| 코어 메일 템플릿 정의
|--------------------------------------------------------------------------
| MailTemplateSeeder 및 CoreUpdateService::syncCoreMailTemplates()에서 사용
| 새 메일 템플릿 추가 시 이 배열에 추가하면 설치/업데이트 모두 반영됩니다.
*/
'mail_templates' => [
[
'type' => 'welcome',
'subject' => [
'ko' => '[{app_name}] 회원가입을 환영합니다',
'en' => '[{app_name}] Welcome to Our Service',
],
'body' => [
'ko' => '<h1>{name}님, 환영합니다!</h1>'
.'<p>{app_name}에 가입해 주셔서 감사합니다.</p>'
.'<p>이제 모든 서비스를 이용하실 수 있습니다. 아래 버튼을 클릭하여 로그인해 주세요.</p>'
.'<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;"><tr><td align="center"><a href="{action_url}" style="display: inline-block; padding: 12px 32px; background-color: #2d3748; color: #ffffff; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 14px;">로그인하기</a></td></tr></table>'
.'<p>감사합니다,<br><a href="{site_url}">{app_name}</a></p>',
'en' => '<h1>Welcome, {name}!</h1>'
.'<p>Thank you for joining {app_name}.</p>'
.'<p>You now have access to all our services. Click the button below to log in.</p>'
.'<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;"><tr><td align="center"><a href="{action_url}" style="display: inline-block; padding: 12px 32px; background-color: #2d3748; color: #ffffff; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 14px;">Log In</a></td></tr></table>'
.'<p>Thank you,<br><a href="{site_url}">{app_name}</a></p>',
],
'variables' => [
['key' => 'name', 'description' => '수신자 이름'],
['key' => 'app_name', 'description' => '사이트명'],
['key' => 'action_url', 'description' => '로그인 페이지 URL'],
['key' => 'site_url', 'description' => '사이트 URL'],
],
],
[
'type' => 'reset_password',
'subject' => [
'ko' => '[{app_name}] 비밀번호 재설정 안내',
'en' => '[{app_name}] Password Reset Request',
],
'body' => [
'ko' => '<h1>{name}님, 안녕하세요.</h1>'
.'<p>비밀번호 재설정 요청을 받았습니다. 아래 버튼을 클릭하여 비밀번호를 재설정해 주세요.</p>'
.'<p>이 링크는 <strong>{expire_minutes}분</strong> 후 만료됩니다.</p>'
.'<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;"><tr><td align="center"><a href="{action_url}" style="display: inline-block; padding: 12px 32px; background-color: #2d3748; color: #ffffff; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 14px;">비밀번호 재설정</a></td></tr></table>'
.'<p>비밀번호 재설정을 요청하지 않으셨다면, 이 이메일을 무시해 주세요.</p>'
.'<p>감사합니다,<br><a href="{site_url}">{app_name}</a></p>',
'en' => '<h1>Hello, {name}.</h1>'
.'<p>We received a request to reset your password. Click the button below to set a new password.</p>'
.'<p>This link will expire in <strong>{expire_minutes} minutes</strong>.</p>'
.'<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;"><tr><td align="center"><a href="{action_url}" style="display: inline-block; padding: 12px 32px; background-color: #2d3748; color: #ffffff; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 14px;">Reset Password</a></td></tr></table>'
.'<p>If you did not request a password reset, please ignore this email.</p>'
.'<p>Thank you,<br><a href="{site_url}">{app_name}</a></p>',
],
'variables' => [
['key' => 'name', 'description' => '수신자 이름'],
['key' => 'app_name', 'description' => '사이트명'],
['key' => 'action_url', 'description' => '비밀번호 재설정 URL'],
['key' => 'expire_minutes', 'description' => '링크 만료 시간(분)'],
['key' => 'site_url', 'description' => '사이트 URL'],
],
],
[
'type' => 'password_changed',
'subject' => [
'ko' => '[{app_name}] 비밀번호가 변경되었습니다',
'en' => '[{app_name}] Your Password Has Been Changed',
],
'body' => [
'ko' => '<h1>{name}님, 안녕하세요.</h1>'
.'<p>계정의 비밀번호가 성공적으로 변경되었습니다.</p>'
.'<p><strong>본인이 변경하지 않았다면, 즉시 고객 지원팀에 문의하시기 바랍니다.</strong></p>'
.'<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;"><tr><td align="center"><a href="{action_url}" style="display: inline-block; padding: 12px 32px; background-color: #2d3748; color: #ffffff; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 14px;">로그인하기</a></td></tr></table>'
.'<p>감사합니다,<br><a href="{site_url}">{app_name}</a></p>',
'en' => '<h1>Hello, {name}.</h1>'
.'<p>Your account password has been successfully changed.</p>'
.'<p><strong>If you did not make this change, please contact our support team immediately.</strong></p>'
.'<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin: 24px 0;"><tr><td align="center"><a href="{action_url}" style="display: inline-block; padding: 12px 32px; background-color: #2d3748; color: #ffffff; text-decoration: none; border-radius: 4px; font-weight: 600; font-size: 14px;">Log In</a></td></tr></table>'
.'<p>Thank you,<br><a href="{site_url}">{app_name}</a></p>',
],
'variables' => [
['key' => 'name', 'description' => '수신자 이름'],
['key' => 'app_name', 'description' => '사이트명'],
['key' => 'action_url', 'description' => '로그인 페이지 URL'],
['key' => 'site_url', 'description' => '사이트 URL'],
],
],
],
];
+34
View File
@@ -0,0 +1,34 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Cross-Origin Resource Sharing (CORS) Configuration
|--------------------------------------------------------------------------
|
| Here you may configure your settings for cross-origin resource sharing
| or "CORS". This determines what cross-origin operations may execute
| in web browsers. You are free to adjust these settings as needed.
|
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
*/
'paths' => ['api/*', 'sanctum/csrf-cookie'],
'allowed_methods' => ['*'],
'allowed_origins' => ['*'],
'allowed_origins_patterns' => [],
'allowed_headers' => ['*'],
'exposed_headers' => [],
'max_age' => 0,
'supports_credentials' => false,
];
+127
View File
@@ -0,0 +1,127 @@
<?php
/**
* 국가 설정 파일
*
* ISO alpha-2 국가 코드와 다국어 국가명 매핑을 정의합니다.
* 새 국가를 추가하려면 해당 로케일 배열에 'ISO코드' => '국가명' 형식으로 추가하세요.
*
*/
return [
/*
|--------------------------------------------------------------------------
| 지원 국가 목록
|--------------------------------------------------------------------------
|
| ISO alpha-2 국가 코드를 키로 사용하며, 각 로케일별 국가명을 정의합니다.
| 새로운 로케일을 추가하려면 'localized_names' 배열에 로케일 키를 추가하세요.
|
*/
'localized_names' => [
'ko' => [
'KR' => '한국',
'US' => '미국',
'JP' => '일본',
'CN' => '중국',
'GB' => '영국',
'DE' => '독일',
'FR' => '프랑스',
'CA' => '캐나다',
'AU' => '호주',
'IN' => '인도',
'BR' => '브라질',
'RU' => '러시아',
'IT' => '이탈리아',
'ES' => '스페인',
'MX' => '멕시코',
'NL' => '네덜란드',
'SE' => '스웨덴',
'CH' => '스위스',
'SG' => '싱가포르',
'HK' => '홍콩',
'TW' => '대만',
'TH' => '태국',
'VN' => '베트남',
'PH' => '필리핀',
'MY' => '말레이시아',
'ID' => '인도네시아',
'NZ' => '뉴질랜드',
'AT' => '오스트리아',
'BE' => '벨기에',
'DK' => '덴마크',
'FI' => '핀란드',
'NO' => '노르웨이',
'PL' => '폴란드',
'PT' => '포르투갈',
'IE' => '아일랜드',
'GR' => '그리스',
'CZ' => '체코',
'HU' => '헝가리',
'TR' => '튀르키예',
'IL' => '이스라엘',
'AE' => '아랍에미리트',
'SA' => '사우디아라비아',
'ZA' => '남아프리카공화국',
'EG' => '이집트',
'AR' => '아르헨티나',
'CL' => '칠레',
'CO' => '콜롬비아',
'PE' => '페루',
],
'en' => [
'KR' => 'South Korea',
'US' => 'United States',
'JP' => 'Japan',
'CN' => 'China',
'GB' => 'United Kingdom',
'DE' => 'Germany',
'FR' => 'France',
'CA' => 'Canada',
'AU' => 'Australia',
'IN' => 'India',
'BR' => 'Brazil',
'RU' => 'Russia',
'IT' => 'Italy',
'ES' => 'Spain',
'MX' => 'Mexico',
'NL' => 'Netherlands',
'SE' => 'Sweden',
'CH' => 'Switzerland',
'SG' => 'Singapore',
'HK' => 'Hong Kong',
'TW' => 'Taiwan',
'TH' => 'Thailand',
'VN' => 'Vietnam',
'PH' => 'Philippines',
'MY' => 'Malaysia',
'ID' => 'Indonesia',
'NZ' => 'New Zealand',
'AT' => 'Austria',
'BE' => 'Belgium',
'DK' => 'Denmark',
'FI' => 'Finland',
'NO' => 'Norway',
'PL' => 'Poland',
'PT' => 'Portugal',
'IE' => 'Ireland',
'GR' => 'Greece',
'CZ' => 'Czech Republic',
'HU' => 'Hungary',
'TR' => 'Turkey',
'IL' => 'Israel',
'AE' => 'United Arab Emirates',
'SA' => 'Saudi Arabia',
'ZA' => 'South Africa',
'EG' => 'Egypt',
'AR' => 'Argentina',
'CL' => 'Chile',
'CO' => 'Colombia',
'PE' => 'Peru',
],
],
];
+197
View File
@@ -0,0 +1,197 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as your default connection for database operations. This is
| the connection which will be utilized unless another connection
| is explicitly specified when you execute a query / statement.
|
*/
'default' => env('DB_CONNECTION', 'mysql'),
/*
|--------------------------------------------------------------------------
| Database Connections
|--------------------------------------------------------------------------
|
| Below are all of the database connections defined for your application.
| An example configuration is provided for each database system which
| is supported by Laravel. You're free to add / remove connections.
|
*/
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DB_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
'busy_timeout' => null,
'journal_mode' => null,
'synchronous' => null,
'transaction_mode' => 'DEFERRED',
],
'mysql' => [
'driver' => 'mysql',
'read' => [
'host' => [
env('DB_READ_HOST', '127.0.0.1'),
],
'port' => env('DB_READ_PORT', '3306'),
'database' => env('DB_READ_DATABASE', 'laravel'),
'username' => env('DB_READ_USERNAME', 'root'),
'password' => env('DB_READ_PASSWORD', ''),
],
'write' => [
'host' => [
env('DB_WRITE_HOST', '127.0.0.1'),
],
'port' => env('DB_WRITE_PORT', '3306'),
'database' => env('DB_WRITE_DATABASE', 'laravel'),
'username' => env('DB_WRITE_USERNAME', 'root'),
'password' => env('DB_WRITE_PASSWORD', ''),
],
'sticky' => true,
'url' => env('DB_URL'),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => env('DB_CHARSET', 'utf8mb4'),
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => env('DB_PREFIX', ''),
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'mariadb' => [
'driver' => 'mariadb',
'url' => env('DB_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => env('DB_CHARSET', 'utf8mb4'),
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => env('DB_PREFIX', ''),
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'pgsql' => [
'driver' => 'pgsql',
'url' => env('DB_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'utf8'),
'prefix' => env('DB_PREFIX', ''),
'prefix_indexes' => true,
'search_path' => 'public',
'sslmode' => 'prefer',
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'url' => env('DB_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'utf8'),
'prefix' => env('DB_PREFIX', ''),
'prefix_indexes' => true,
// 'encrypt' => env('DB_ENCRYPT', 'yes'),
// 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'),
],
],
/*
|--------------------------------------------------------------------------
| Migration Repository Table
|--------------------------------------------------------------------------
|
| This table keeps track of all the migrations that have already run for
| your application. Using this information, we can determine which of
| the migrations on disk haven't actually been run on the database.
|
*/
'migrations' => [
'table' => 'migrations',
'update_date_on_publish' => true,
],
/*
|--------------------------------------------------------------------------
| Redis Databases
|--------------------------------------------------------------------------
|
| Redis is an open source, fast, and advanced key-value store that also
| provides a richer body of commands than a typical key-value system
| such as Memcached. You may define your connection settings here.
|
*/
'redis' => [
'client' => env('REDIS_CLIENT', 'phpredis'),
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-database-'),
'persistent' => env('REDIS_PERSISTENT', false),
],
'default' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'username' => env('REDIS_USERNAME'),
'password' => env('REDIS_PASSWORD'),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_DB', '0'),
'max_retries' => env('REDIS_MAX_RETRIES', 3),
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
],
'cache' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'username' => env('REDIS_USERNAME'),
'password' => env('REDIS_PASSWORD'),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_CACHE_DB', '1'),
'max_retries' => env('REDIS_MAX_RETRIES', 3),
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
],
],
];
+112
View File
@@ -0,0 +1,112 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Filesystem Disk
|--------------------------------------------------------------------------
|
| Here you may specify the default filesystem disk that should be used
| by the framework. The "local" disk, as well as a variety of cloud
| based disks are available to your application for file storage.
|
*/
'default' => env('FILESYSTEM_DISK', 'local'),
/*
|--------------------------------------------------------------------------
| Filesystem Disks
|--------------------------------------------------------------------------
|
| Below you may configure as many filesystem disks as necessary, and you
| may even configure multiple disks for the same driver. Examples for
| most supported storage drivers are configured here for reference.
|
| Supported drivers: "local", "ftp", "sftp", "s3"
|
*/
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app/private'),
'serve' => true,
'throw' => true,
'report' => false,
],
'modules' => [
'driver' => 'local',
'root' => storage_path('app/modules'),
'serve' => true,
'throw' => true,
'report' => false,
],
'plugins' => [
'driver' => 'local',
'root' => storage_path('app/plugins'),
'serve' => true,
'throw' => true,
'report' => false,
],
'attachments' => [
'driver' => 'local',
'root' => storage_path('app/attachments'),
'serve' => false,
'throw' => true,
'report' => false,
],
'settings' => [
'driver' => 'local',
'root' => storage_path('app/settings'),
'serve' => false,
'throw' => true,
'report' => false,
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'throw' => true,
'report' => false,
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'throw' => true,
'report' => false,
],
],
/*
|--------------------------------------------------------------------------
| Symbolic Links
|--------------------------------------------------------------------------
|
| Here you may configure the symbolic links that will be created when the
| `storage:link` Artisan command is executed. The array keys should be
| the locations of the links and the values should be their targets.
|
*/
'links' => [
public_path('storage') => storage_path('app/public'),
],
];
+41
View File
@@ -0,0 +1,41 @@
<?php
/**
* 프론트엔드 노출 설정
*
* 백엔드의 config() 값 중 프론트엔드에 노출할 항목을 정의합니다.
* G7Config.appConfig으로 주입되어 _global.appConfig에서 접근 가능합니다.
*
* 영속 설정(defaults.json)과 분리: 이 파일은 정적 시스템 설정만 관리합니다.
*/
return [
/*
|--------------------------------------------------------------------------
| 프론트엔드에 노출할 config() 값
|--------------------------------------------------------------------------
|
| 각 항목: 프론트엔드 키 => ['config_key' => config() 경로, 'type' => 타입]
| 레이아웃에서 {{_global.appConfig.supportedTimezones}} 형태로 접근
|
| 향후 프론트에 노출할 config 값이 추가되면 여기에 추가만 하면 됩니다.
|
*/
'app_config' => [
'supportedTimezones' => [
'config_key' => 'app.supported_timezones',
'type' => 'array',
],
'supportedLocales' => [
'config_key' => 'app.supported_locales',
'type' => 'array',
],
'releaseYear' => [
'config_key' => 'app.release_year',
'type' => 'string',
],
'version' => [
'config_key' => 'app.version',
'type' => 'string',
],
],
];
+40
View File
@@ -0,0 +1,40 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| GeoIP 활성화 여부
|--------------------------------------------------------------------------
|
| IP 기반 지역 감지 기능의 활성화 여부를 설정합니다.
| 이 기능을 사용하려면 GeoLite2-City.mmdb 파일이 필요합니다.
|
*/
'enabled' => env('GEOIP_ENABLED', false),
/*
|--------------------------------------------------------------------------
| GeoLite2 데이터베이스 파일 경로
|--------------------------------------------------------------------------
|
| MaxMind GeoLite2-City.mmdb 파일의 저장 경로입니다.
| 이 파일은 MaxMind 계정에서 다운로드하거나 API를 통해 자동 업데이트할 수 있습니다.
|
*/
'database_path' => storage_path('app/geoip/GeoLite2-City.mmdb'),
/*
|--------------------------------------------------------------------------
| 캐시 설정
|--------------------------------------------------------------------------
|
| IP별 타임존 조회 결과를 캐싱하여 성능을 향상시킵니다.
| 캐시 TTL은 초 단위로 설정합니다.
|
*/
'cache' => [
'enabled' => true,
'prefix' => 'geoip.timezone.',
'ttl' => 86400, // 24시간 (초 단위)
],
];
+154
View File
@@ -0,0 +1,154 @@
<?php
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
use Monolog\Processor\PsrLogMessageProcessor;
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
|
| This option defines the default log channel that is utilized to write
| messages to your logs. The value provided here should match one of
| the channels present in the list of "channels" configured below.
|
*/
'default' => env('LOG_CHANNEL', 'stack'),
/*
|--------------------------------------------------------------------------
| Deprecations Log Channel
|--------------------------------------------------------------------------
|
| This option controls the log channel that should be used to log warnings
| regarding deprecated PHP and library features. This allows you to get
| your application ready for upcoming major versions of dependencies.
|
*/
'deprecations' => [
'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
'trace' => env('LOG_DEPRECATIONS_TRACE', false),
],
/*
|--------------------------------------------------------------------------
| Log Channels
|--------------------------------------------------------------------------
|
| Here you may configure the log channels for your application. Laravel
| utilizes the Monolog PHP logging library, which includes a variety
| of powerful log handlers and formatters that you're free to use.
|
| Available drivers: "single", "daily", "slack", "syslog",
| "errorlog", "monolog", "custom", "stack"
|
*/
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => explode(',', (string) env('LOG_STACK', 'single')),
'ignore_exceptions' => false,
],
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'),
'replace_placeholders' => true,
],
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => env('LOG_LEVEL', 'debug'),
'days' => env('LOG_DAILY_DAYS', 14),
'replace_placeholders' => true,
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => env('LOG_SLACK_USERNAME', 'Laravel Log'),
'emoji' => env('LOG_SLACK_EMOJI', ':boom:'),
'level' => env('LOG_LEVEL', 'critical'),
'replace_placeholders' => true,
],
'papertrail' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class),
'handler_with' => [
'host' => env('PAPERTRAIL_URL'),
'port' => env('PAPERTRAIL_PORT'),
'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'),
],
'processors' => [PsrLogMessageProcessor::class],
],
'stderr' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => StreamHandler::class,
'handler_with' => [
'stream' => 'php://stderr',
],
'formatter' => env('LOG_STDERR_FORMATTER'),
'processors' => [PsrLogMessageProcessor::class],
],
'syslog' => [
'driver' => 'syslog',
'level' => env('LOG_LEVEL', 'debug'),
'facility' => env('LOG_SYSLOG_FACILITY', LOG_USER),
'replace_placeholders' => true,
],
'errorlog' => [
'driver' => 'errorlog',
'level' => env('LOG_LEVEL', 'debug'),
'replace_placeholders' => true,
],
'null' => [
'driver' => 'monolog',
'handler' => NullHandler::class,
],
'emergency' => [
'path' => storage_path('logs/laravel.log'),
],
'query' => [
'driver' => 'daily',
'path' => storage_path('logs/query.log'),
'level' => 'debug',
'days' => 7,
'replace_placeholders' => true,
],
'upgrade' => [
'driver' => 'daily',
'path' => storage_path('logs/upgrade.log'),
'level' => 'debug',
'days' => 30,
'replace_placeholders' => true,
],
'activity' => [
'driver' => 'custom',
'via' => \App\ActivityLog\ActivityLogChannel::class,
'level' => 'debug',
],
],
];
+122
View File
@@ -0,0 +1,122 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send all email
| messages unless another mailer is explicitly specified when sending
| the message. All additional mailers can be configured within the
| "mailers" array. Examples of each type of mailer are provided.
|
*/
'default' => env('MAIL_MAILER', 'log'),
/*
|--------------------------------------------------------------------------
| Mailer Configurations
|--------------------------------------------------------------------------
|
| Here you may configure all of the mailers used by your application plus
| their respective settings. Several examples have been configured for
| you and you are free to add your own as your application requires.
|
| Laravel supports a variety of mail "transport" drivers that can be used
| when delivering an email. You may specify which one you're using for
| your mailers below. You may also add additional mailers if needed.
|
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
| "postmark", "resend", "log", "array",
| "failover", "roundrobin"
|
*/
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'scheme' => env('MAIL_SCHEME'),
'url' => env('MAIL_URL'),
'host' => env('MAIL_HOST', '127.0.0.1'),
'port' => env('MAIL_PORT', 2525),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'local_domain' => env('MAIL_EHLO_DOMAIN', parse_url((string) env('APP_URL', 'http://localhost'), PHP_URL_HOST)),
],
'ses' => [
'transport' => 'ses',
],
'mailgun' => [
'transport' => 'mailgun',
],
'postmark' => [
'transport' => 'postmark',
// 'message_stream_id' => env('POSTMARK_MESSAGE_STREAM_ID'),
// 'client' => [
// 'timeout' => 5,
// ],
],
'resend' => [
'transport' => 'resend',
],
'sendmail' => [
'transport' => 'sendmail',
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
],
'log' => [
'transport' => 'log',
'channel' => env('MAIL_LOG_CHANNEL'),
],
'array' => [
'transport' => 'array',
],
'failover' => [
'transport' => 'failover',
'mailers' => [
'smtp',
'log',
],
'retry_after' => 60,
],
'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
'retry_after' => 60,
],
],
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all emails sent by your application to be sent from
| the same address. Here you may specify a name and address that is
| used globally for all emails that are sent by your application.
|
*/
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
];
+21
View File
@@ -0,0 +1,21 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| 모듈 설정 (Module Settings)
|--------------------------------------------------------------------------
|
| 모듈 시스템 관련 설정입니다.
|
*/
// ZIP 파일 업로드 최대 크기 (MB)
'upload_max_size' => env('MODULE_UPLOAD_MAX_SIZE', 50),
// 모듈 설치 경로
'install_path' => base_path('modules'),
// GitHub 다운로드 타임아웃 (초)
'github_timeout' => env('MODULE_GITHUB_TIMEOUT', 60),
];
+31
View File
@@ -0,0 +1,31 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| PHP Binary Path
|--------------------------------------------------------------------------
|
| PHP CLI 바이너리의 경로를 설정합니다. 기본값은 'php'로 시스템 PATH에서
| 탐색합니다. 카페24 등 비표준 경로에 PHP가 설치된 호스팅 환경에서는
| 절대 경로를 지정합니다 (예: /usr/local/php82/bin/php).
|
*/
'php_binary' => env('PHP_BINARY', 'php'),
/*
|--------------------------------------------------------------------------
| Composer Binary Path
|--------------------------------------------------------------------------
|
| Composer 바이너리의 경로를 설정합니다. 비어있으면 시스템 PATH에서
| 'composer'를 탐색합니다. .phar 파일 경로를 지정하면 PHP 바이너리를
| 사용하여 실행합니다 (예: /usr/local/bin/composer.phar).
|
*/
'composer_binary' => env('COMPOSER_BINARY', ''),
];
+112
View File
@@ -0,0 +1,112 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue supports a variety of backends via a single, unified
| API, giving you convenient access to each backend using identical
| syntax for each. The default queue connection is defined below.
|
*/
'default' => env('QUEUE_CONNECTION', 'database'),
/*
|--------------------------------------------------------------------------
| Queue Connections
|--------------------------------------------------------------------------
|
| Here you may configure the connection options for every queue backend
| used by your application. An example configuration is provided for
| each backend supported by Laravel. You're also free to add more.
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
*/
'connections' => [
'sync' => [
'driver' => 'sync',
],
'database' => [
'driver' => 'database',
'connection' => env('DB_QUEUE_CONNECTION'),
'table' => env('DB_QUEUE_TABLE', 'jobs'),
'queue' => env('DB_QUEUE', 'default'),
'retry_after' => (int) env('DB_QUEUE_RETRY_AFTER', 90),
'after_commit' => false,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => env('BEANSTALKD_QUEUE_HOST', 'localhost'),
'queue' => env('BEANSTALKD_QUEUE', 'default'),
'retry_after' => (int) env('BEANSTALKD_QUEUE_RETRY_AFTER', 90),
'block_for' => 0,
'after_commit' => false,
],
'sqs' => [
'driver' => 'sqs',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
'queue' => env('SQS_QUEUE', 'default'),
'suffix' => env('SQS_SUFFIX'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'after_commit' => false,
],
'redis' => [
'driver' => 'redis',
'connection' => env('REDIS_QUEUE_CONNECTION', 'default'),
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 90),
'block_for' => null,
'after_commit' => false,
],
],
/*
|--------------------------------------------------------------------------
| Job Batching
|--------------------------------------------------------------------------
|
| The following options configure the database and table that store job
| batching information. These options can be updated to any database
| connection and table which has been defined by your application.
|
*/
'batching' => [
'database' => env('DB_CONNECTION', 'sqlite'),
'table' => 'job_batches',
],
/*
|--------------------------------------------------------------------------
| Failed Queue Jobs
|--------------------------------------------------------------------------
|
| These options configure the behavior of failed queue job logging so you
| can control how and where failed jobs are stored. Laravel ships with
| support for storing failed jobs in a simple file or in a database.
|
| Supported drivers: "database-uuids", "dynamodb", "file", "null"
|
*/
'failed' => [
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
'database' => env('DB_CONNECTION', 'sqlite'),
'table' => 'failed_jobs',
],
];
+100
View File
@@ -0,0 +1,100 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Reverb Server
|--------------------------------------------------------------------------
|
| This option controls the default server used by Reverb to handle
| incoming messages as well as broadcasting message to all your
| connected clients. At this time only "reverb" is supported.
|
*/
'default' => env('REVERB_SERVER', 'reverb'),
/*
|--------------------------------------------------------------------------
| Reverb Servers
|--------------------------------------------------------------------------
|
| Here you may define details for each of the supported Reverb servers.
| Each server has its own configuration options that are defined in
| the array below. You should ensure all the options are present.
|
*/
'servers' => [
'reverb' => [
'host' => env('REVERB_SERVER_HOST', '0.0.0.0'),
'port' => env('REVERB_SERVER_PORT', 8080),
'path' => env('REVERB_SERVER_PATH', ''),
'hostname' => env('REVERB_HOST'),
'options' => [
'tls' => env('REVERB_SCHEME', 'https') === 'https' ? [
'local_cert' => env('REVERB_TLS_CERT', ''),
'local_pk' => env('REVERB_TLS_KEY', ''),
'allow_self_signed' => true,
'verify_peer' => false,
] : [],
],
'max_request_size' => env('REVERB_MAX_REQUEST_SIZE', 10_000),
'scaling' => [
'enabled' => env('REVERB_SCALING_ENABLED', false),
'channel' => env('REVERB_SCALING_CHANNEL', 'reverb'),
'server' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'port' => env('REDIS_PORT', '6379'),
'username' => env('REDIS_USERNAME'),
'password' => env('REDIS_PASSWORD'),
'database' => env('REDIS_DB', '0'),
'timeout' => env('REDIS_TIMEOUT', 60),
],
],
'pulse_ingest_interval' => env('REVERB_PULSE_INGEST_INTERVAL', 15),
'telescope_ingest_interval' => env('REVERB_TELESCOPE_INGEST_INTERVAL', 15),
],
],
/*
|--------------------------------------------------------------------------
| Reverb Applications
|--------------------------------------------------------------------------
|
| Here you may define how Reverb applications are managed. If you choose
| to use the "config" provider, you may define an array of apps which
| your server will support, including their connection credentials.
|
*/
'apps' => [
'provider' => 'config',
'apps' => [
[
'key' => env('REVERB_APP_KEY'),
'secret' => env('REVERB_APP_SECRET'),
'app_id' => env('REVERB_APP_ID'),
'options' => [
'host' => env('REVERB_HOST'),
'port' => env('REVERB_PORT', 443),
'scheme' => env('REVERB_SCHEME', 'https'),
'useTLS' => env('REVERB_SCHEME', 'https') === 'https',
],
'allowed_origins' => ['*'],
'ping_interval' => env('REVERB_APP_PING_INTERVAL', 60),
'activity_timeout' => env('REVERB_APP_ACTIVITY_TIMEOUT', 30),
'max_connections' => env('REVERB_APP_MAX_CONNECTIONS'),
'max_message_size' => env('REVERB_APP_MAX_MESSAGE_SIZE', 10_000),
],
],
],
];
+84
View File
@@ -0,0 +1,84 @@
<?php
use Laravel\Sanctum\Sanctum;
return [
/*
|--------------------------------------------------------------------------
| Stateful Domains
|--------------------------------------------------------------------------
|
| Requests from the following domains / hosts will receive stateful API
| authentication cookies. Typically, these should include your local
| and production domains which access your API via a frontend SPA.
|
*/
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
Sanctum::currentApplicationUrlWithPort(),
// Sanctum::currentRequestHost(),
))),
/*
|--------------------------------------------------------------------------
| Sanctum Guards
|--------------------------------------------------------------------------
|
| This array contains the authentication guards that will be checked when
| Sanctum is trying to authenticate a request. If none of these guards
| are able to authenticate the request, Sanctum will use the bearer
| token that's present on an incoming request for authentication.
|
*/
'guard' => ['web'],
/*
|--------------------------------------------------------------------------
| Expiration Minutes
|--------------------------------------------------------------------------
|
| This value controls the number of minutes until an issued token will be
| considered expired. This will override any values set in the token's
| "expires_at" attribute, but first-party sessions are not affected.
|
*/
'expiration' => null,
/*
|--------------------------------------------------------------------------
| Token Prefix
|--------------------------------------------------------------------------
|
| Sanctum can prefix new tokens in order to take advantage of numerous
| security scanning initiatives maintained by open source platforms
| that notify developers if they commit tokens into repositories.
|
| See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning
|
*/
'token_prefix' => env('SANCTUM_TOKEN_PREFIX', ''),
/*
|--------------------------------------------------------------------------
| Sanctum Middleware
|--------------------------------------------------------------------------
|
| When authenticating your first-party SPA with Sanctum you may need to
| customize some of the middleware Sanctum uses while processing the
| request. You may change the middleware listed below as required.
|
*/
'middleware' => [
'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class,
'encrypt_cookies' => Illuminate\Cookie\Middleware\EncryptCookies::class,
'validate_csrf_token' => App\Http\Middleware\NullMiddleware::class,
],
];
+72
View File
@@ -0,0 +1,72 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Search Engine
|--------------------------------------------------------------------------
|
| 기본 검색 엔진 드라이버를 지정합니다.
| mysql-fulltext: MySQL FULLTEXT + ngram 파서 (기본값)
|
| 플러그인에서 core.search.engine_drivers 필터 훅을 통해
| 추가 드라이버(meilisearch, elasticsearch 등)를 등록할 수 있습니다.
| .env에서 SCOUT_DRIVER=meilisearch 등으로 전환하면 즉시 적용됩니다.
|
*/
'driver' => env('SCOUT_DRIVER', 'mysql-fulltext'),
/*
|--------------------------------------------------------------------------
| Index Prefix
|--------------------------------------------------------------------------
*/
'prefix' => env('SCOUT_PREFIX', ''),
/*
|--------------------------------------------------------------------------
| Queue Data Syncing
|--------------------------------------------------------------------------
*/
'queue' => env('SCOUT_QUEUE', false),
/*
|--------------------------------------------------------------------------
| Database Transactions
|--------------------------------------------------------------------------
*/
'after_commit' => false,
/*
|--------------------------------------------------------------------------
| Chunk Sizes
|--------------------------------------------------------------------------
*/
'chunk' => [
'searchable' => 500,
'unsearchable' => 500,
],
/*
|--------------------------------------------------------------------------
| Soft Deletes
|--------------------------------------------------------------------------
*/
'soft_delete' => true,
/*
|--------------------------------------------------------------------------
| Identify User
|--------------------------------------------------------------------------
*/
'identify' => env('SCOUT_IDENTIFY', false),
];
+44
View File
@@ -0,0 +1,44 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark, AWS and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'postmark' => [
'token' => env('POSTMARK_TOKEN'),
],
'resend' => [
'key' => env('RESEND_KEY'),
],
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
];
+217
View File
@@ -0,0 +1,217 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option determines the default session driver that is utilized for
| incoming requests. Laravel supports a variety of storage options to
| persist session data. Database storage is a great default choice.
|
| Supported: "file", "cookie", "database", "memcached",
| "redis", "dynamodb", "array"
|
*/
'driver' => env('SESSION_DRIVER', 'database'),
/*
|--------------------------------------------------------------------------
| Session Lifetime
|--------------------------------------------------------------------------
|
| Here you may specify the number of minutes that you wish the session
| to be allowed to remain idle before it expires. If you want them
| to expire immediately when the browser is closed then you may
| indicate that via the expire_on_close configuration option.
|
*/
'lifetime' => (int) env('SESSION_LIFETIME', 120),
'expire_on_close' => env('SESSION_EXPIRE_ON_CLOSE', false),
/*
|--------------------------------------------------------------------------
| Session Encryption
|--------------------------------------------------------------------------
|
| This option allows you to easily specify that all of your session data
| should be encrypted before it's stored. All encryption is performed
| automatically by Laravel and you may use the session like normal.
|
*/
'encrypt' => env('SESSION_ENCRYPT', false),
/*
|--------------------------------------------------------------------------
| Session File Location
|--------------------------------------------------------------------------
|
| When utilizing the "file" session driver, the session files are placed
| on disk. The default storage location is defined here; however, you
| are free to provide another location where they should be stored.
|
*/
'files' => storage_path('framework/sessions'),
/*
|--------------------------------------------------------------------------
| Session Database Connection
|--------------------------------------------------------------------------
|
| When using the "database" or "redis" session drivers, you may specify a
| connection that should be used to manage these sessions. This should
| correspond to a connection in your database configuration options.
|
*/
'connection' => env('SESSION_CONNECTION'),
/*
|--------------------------------------------------------------------------
| Session Database Table
|--------------------------------------------------------------------------
|
| When using the "database" session driver, you may specify the table to
| be used to store sessions. Of course, a sensible default is defined
| for you; however, you're welcome to change this to another table.
|
*/
'table' => env('SESSION_TABLE', 'sessions'),
/*
|--------------------------------------------------------------------------
| Session Cache Store
|--------------------------------------------------------------------------
|
| When using one of the framework's cache driven session backends, you may
| define the cache store which should be used to store the session data
| between requests. This must match one of your defined cache stores.
|
| Affects: "dynamodb", "memcached", "redis"
|
*/
'store' => env('SESSION_STORE'),
/*
|--------------------------------------------------------------------------
| Session Sweeping Lottery
|--------------------------------------------------------------------------
|
| Some session drivers must manually sweep their storage location to get
| rid of old sessions from storage. Here are the chances that it will
| happen on a given request. By default, the odds are 2 out of 100.
|
*/
'lottery' => [2, 100],
/*
|--------------------------------------------------------------------------
| Session Cookie Name
|--------------------------------------------------------------------------
|
| Here you may change the name of the session cookie that is created by
| the framework. Typically, you should not need to change this value
| since doing so does not grant a meaningful security improvement.
|
*/
'cookie' => env(
'SESSION_COOKIE',
Str::slug(env('APP_NAME', 'laravel')).'-session'
),
/*
|--------------------------------------------------------------------------
| Session Cookie Path
|--------------------------------------------------------------------------
|
| The session cookie path determines the path for which the cookie will
| be regarded as available. Typically, this will be the root path of
| your application, but you're free to change this when necessary.
|
*/
'path' => env('SESSION_PATH', '/'),
/*
|--------------------------------------------------------------------------
| Session Cookie Domain
|--------------------------------------------------------------------------
|
| This value determines the domain and subdomains the session cookie is
| available to. By default, the cookie will be available to the root
| domain and all subdomains. Typically, this shouldn't be changed.
|
*/
'domain' => env('SESSION_DOMAIN'),
/*
|--------------------------------------------------------------------------
| HTTPS Only Cookies
|--------------------------------------------------------------------------
|
| By setting this option to true, session cookies will only be sent back
| to the server if the browser has a HTTPS connection. This will keep
| the cookie from being sent to you when it can't be done securely.
|
*/
'secure' => env('SESSION_SECURE_COOKIE'),
/*
|--------------------------------------------------------------------------
| HTTP Access Only
|--------------------------------------------------------------------------
|
| Setting this value to true will prevent JavaScript from accessing the
| value of the cookie and the cookie will only be accessible through
| the HTTP protocol. It's unlikely you should disable this option.
|
*/
'http_only' => env('SESSION_HTTP_ONLY', true),
/*
|--------------------------------------------------------------------------
| Same-Site Cookies
|--------------------------------------------------------------------------
|
| This option determines how your cookies behave when cross-site requests
| take place, and can be used to mitigate CSRF attacks. By default, we
| will set this value to "lax" to permit secure cross-site requests.
|
| See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value
|
| Supported: "lax", "strict", "none", null
|
*/
'same_site' => env('SESSION_SAME_SITE', 'lax'),
/*
|--------------------------------------------------------------------------
| Partitioned Cookies
|--------------------------------------------------------------------------
|
| Setting this value to true will tie the cookie to the top-level site for
| a cross-site context. Partitioned cookies are accepted by the browser
| when flagged "secure" and the Same-Site attribute is set to "none".
|
*/
'partitioned' => env('SESSION_PARTITIONED_COOKIE', false),
];
+232
View File
@@ -0,0 +1,232 @@
{
"_meta": {
"version": "1.0.0",
"description": "그누보드7 환경설정 기본값 및 프론트엔드 스키마",
"categories": ["general", "security", "mail", "upload", "seo", "cache", "debug", "drivers", "core_update"]
},
"defaults": {
"general": {
"site_name": "그누보드7",
"site_url": "",
"site_description": "",
"admin_email": "",
"timezone": "Asia/Seoul",
"language": "ko",
"currency": "KRW",
"maintenance_mode": false,
"site_logo": []
},
"security": {
"force_https": false,
"login_attempt_enabled": true,
"auth_token_lifetime": 30,
"max_login_attempts": 5,
"login_lockout_time": 5,
"two_factor_auth": false,
"password_min_length": 8,
"require_password_special_char": false
},
"mail": {
"mailer": "smtp",
"host": "",
"port": 587,
"username": "",
"password": "",
"encryption": "tls",
"mailgun_domain": "",
"mailgun_secret": "",
"mailgun_endpoint": "api.mailgun.net",
"ses_key": "",
"ses_secret": "",
"ses_region": "ap-northeast-2",
"from_address": "noreply@example.com",
"from_name": "그누보드7"
},
"upload": {
"max_file_size": 10,
"allowed_extensions": ["jpg", "jpeg", "png", "gif", "webp", "pdf", "doc", "docx", "xls", "xlsx", "zip"],
"image_max_width": 2000,
"image_max_height": 2000,
"image_quality": 85
},
"seo": {
"meta_title_suffix": "",
"meta_description": "",
"meta_keywords": "",
"google_analytics_id": "",
"google_site_verification": "",
"naver_site_verification": "",
"bot_user_agents": ["Googlebot", "Bingbot", "Naverbot", "Yeti", "Yandex"],
"bot_detection_enabled": true,
"cache_enabled": true,
"cache_ttl": 7200,
"sitemap_enabled": true,
"sitemap_cache_ttl": 86400,
"sitemap_schedule": "daily",
"sitemap_schedule_time": "02:00"
},
"cache": {
"enabled": true,
"layout_enabled": true,
"layout_ttl": 3600,
"stats_enabled": true,
"stats_ttl": 1800,
"seo_enabled": true,
"seo_ttl": 7200
},
"debug": {
"mode": false,
"sql_query_log": false,
"log_level": "error"
},
"core_update": {
"github_url": "",
"github_token": ""
},
"drivers": {
"storage_driver": "local",
"s3_bucket": "",
"s3_region": "ap-northeast-2",
"s3_access_key": "",
"s3_secret_key": "",
"s3_url": "",
"cache_driver": "file",
"redis_host": "127.0.0.1",
"redis_port": 6379,
"redis_password": "",
"redis_database": 0,
"memcached_host": "127.0.0.1",
"memcached_port": 11211,
"session_driver": "database",
"session_lifetime": 120,
"queue_driver": "database",
"log_driver": "daily",
"log_level": "error",
"log_days": 14,
"websocket_enabled": false,
"websocket_app_key": "",
"websocket_host": "localhost",
"websocket_port": 8080,
"websocket_scheme": "https",
"search_engine_driver": "mysql-fulltext"
}
},
"frontend_schema": {
"_description": "프론트엔드에 노출할 설정 필드 정의. 각 카테고리별로 노출할 필드와 타입 캐스팅, 민감 정보 여부를 정의합니다.",
"general": {
"expose": true,
"_comment": "site_url, admin_email, language, timezone는 프론트엔드에서 미참조하므로 expose: false",
"fields": {
"site_name": { "type": "string", "sensitive": false },
"site_url": { "type": "string", "sensitive": false, "expose": false },
"site_description": { "type": "string", "sensitive": false },
"admin_email": { "type": "string", "sensitive": false, "expose": false },
"language": { "type": "string", "sensitive": false, "expose": false },
"timezone": { "type": "string", "sensitive": false, "expose": false },
"site_logo": { "type": "array", "sensitive": false, "transform": "attachments" },
"site_logo_url": { "type": "string", "sensitive": false, "computed": true, "source": "site_logo", "transform": "first_image_url" }
}
},
"security": {
"expose": false,
"_comment": "보안 정책은 프론트엔드에서 미참조 — 노출 시 공격자에게 정보 제공 위험"
},
"mail": {
"expose": false,
"_comment": "mail 설정은 password 포함으로 프론트엔드에 노출하지 않음"
},
"upload": {
"expose": true,
"fields": {
"max_file_size": { "type": "integer", "sensitive": false },
"allowed_extensions": { "type": "string", "sensitive": false, "transform": "join_comma", "expose": false },
"allowed_extensions_formatted": { "type": "string", "sensitive": false, "computed": true, "source": "allowed_extensions", "transform": "format_extensions" },
"image_max_width": { "type": "integer", "sensitive": false },
"image_max_height": { "type": "integer", "sensitive": false },
"image_quality": { "type": "integer", "sensitive": false, "expose": false }
}
},
"seo": {
"expose": false,
"_comment": "SEO 설정 전체 — 프론트엔드 미참조 (admin 환경설정 폼은 API 데이터 기반)",
"fields": {
"meta_title_suffix": { "type": "string", "sensitive": false },
"meta_description": { "type": "string", "sensitive": false },
"meta_keywords": { "type": "string", "sensitive": false },
"google_analytics_id": { "type": "string", "sensitive": false },
"google_site_verification": { "type": "string", "sensitive": false },
"naver_site_verification": { "type": "string", "sensitive": false },
"bot_user_agents": { "type": "array", "sensitive": false },
"bot_detection_enabled": { "type": "boolean", "sensitive": false },
"cache_enabled": { "type": "boolean", "sensitive": false },
"cache_ttl": { "type": "integer", "sensitive": false },
"sitemap_enabled": { "type": "boolean", "sensitive": false },
"sitemap_cache_ttl": { "type": "integer", "sensitive": false },
"sitemap_schedule": { "type": "string", "sensitive": false },
"sitemap_schedule_time": { "type": "string", "sensitive": false }
}
},
"cache": {
"expose": true,
"frontend_name": "advanced",
"_comment": "cache와 debug를 합쳐서 advanced로 노출",
"fields": {
"enabled": { "type": "boolean", "sensitive": false, "frontend_key": "cache_enabled", "expose": false },
"layout_enabled": { "type": "boolean", "sensitive": false, "frontend_key": "layout_cache_enabled", "expose": false },
"layout_ttl": { "type": "integer", "sensitive": false, "frontend_key": "layout_cache_ttl", "expose": false },
"stats_enabled": { "type": "boolean", "sensitive": false, "frontend_key": "stats_cache_enabled", "expose": false },
"stats_ttl": { "type": "integer", "sensitive": false, "frontend_key": "stats_cache_ttl", "expose": false },
"seo_enabled": { "type": "boolean", "sensitive": false, "frontend_key": "seo_cache_enabled", "expose": false },
"seo_ttl": { "type": "integer", "sensitive": false, "frontend_key": "seo_cache_ttl", "expose": false }
}
},
"debug": {
"expose": true,
"merge_into": "advanced",
"_comment": "debug 설정은 advanced 카테고리에 병합",
"fields": {
"mode": { "type": "boolean", "sensitive": false, "frontend_key": "debug_mode" },
"sql_query_log": { "type": "boolean", "sensitive": false, "expose": false }
}
},
"core_update": {
"expose": true,
"merge_into": "advanced",
"_comment": "core_update 설정은 advanced 카테고리에 병합",
"fields": {
"github_url": { "type": "string", "sensitive": false, "frontend_key": "core_update_github_url", "expose": false },
"github_token": { "type": "string", "sensitive": true, "frontend_key": "core_update_github_token" }
}
},
"drivers": {
"expose": false,
"_comment": "드라이버 설정 — 프론트엔드 미노출 (admin_settings에서 API 원본값 기반 비교로 변경)",
"fields": {
"storage_driver": { "type": "string", "sensitive": false },
"s3_bucket": { "type": "string", "sensitive": false },
"s3_region": { "type": "string", "sensitive": false },
"s3_access_key": { "type": "string", "sensitive": true },
"s3_secret_key": { "type": "string", "sensitive": true },
"s3_url": { "type": "string", "sensitive": false },
"cache_driver": { "type": "string", "sensitive": false },
"redis_host": { "type": "string", "sensitive": false },
"redis_port": { "type": "integer", "sensitive": false },
"redis_password": { "type": "string", "sensitive": true },
"redis_database": { "type": "integer", "sensitive": false },
"memcached_host": { "type": "string", "sensitive": false },
"memcached_port": { "type": "integer", "sensitive": false },
"session_driver": { "type": "string", "sensitive": false },
"session_lifetime": { "type": "integer", "sensitive": false },
"queue_driver": { "type": "string", "sensitive": false },
"log_driver": { "type": "string", "sensitive": false },
"log_level": { "type": "string", "sensitive": false },
"log_days": { "type": "integer", "sensitive": false },
"websocket_enabled": { "type": "boolean", "sensitive": false },
"websocket_app_key": { "type": "string", "sensitive": false },
"websocket_host": { "type": "string", "sensitive": false },
"websocket_port": { "type": "integer", "sensitive": false },
"websocket_scheme": { "type": "string", "sensitive": false }
}
}
}
}
+89
View File
@@ -0,0 +1,89 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| 필수 Admin 컴포넌트 (Required Admin Components)
|--------------------------------------------------------------------------
|
| 모든 admin 타입 템플릿이 반드시 구현해야 하는 컴포넌트 목록입니다.
| 모듈 개발자는 이 컴포넌트들만 사용하면 모든 admin 템플릿에서 동작이 보장됩니다.
|
| All admin templates must implement these components.
| Module developers can use these components with guaranteed compatibility
| across all admin templates.
|
*/
'required_admin_components' => [
// 기본 컴포넌트 (Basic Components) - HTML 태그 래핑
'A', // 앵커/링크
'Button', // 버튼
'Checkbox', // 체크박스
'Div', // 범용 컨테이너
'Form', // 폼 컨테이너
'H1', // 제목 1
'H2', // 제목 2
'H3', // 제목 3
'Icon', // 아이콘
'Img', // 이미지
'Input', // 텍스트 입력
'Label', // 라벨
'Li', // 리스트 아이템
'Nav', // 네비게이션
'P', // 문단
'Section', // 섹션
'Select', // 선택 박스
'Span', // 인라인 텍스트
'Svg', // SVG 컨테이너
'Table', // 테이블
'Tbody', // 테이블 바디
'Td', // 테이블 셀
'Textarea', // 텍스트 영역
'Th', // 테이블 헤더 셀
'Thead', // 테이블 헤더
'Tr', // 테이블 행
'Ul', // 순서 없는 리스트
// 집합 컴포넌트 (Composite Components) - UI 패턴 캡슐화
'Alert', // 알림 메시지
'Badge', // 뱃지 - 상태 표시
'Card', // 카드 컨테이너
'DataTable', // 데이터 테이블 - 목록 페이지 필수
'FormField', // 폼 필드 래퍼 (라벨, 에러 메시지 포함)
'Modal', // 모달 다이얼로그
'PageHeader', // 페이지 헤더 (제목, 브레드크럼, 액션)
'Pagination', // 페이지네이션 - 목록 페이지 페이징
],
/*
|--------------------------------------------------------------------------
| 템플릿 검증 설정 (Template Validation Settings)
|--------------------------------------------------------------------------
|
| 템플릿 설치 시 필수 컴포넌트 검증 관련 설정입니다.
|
*/
'validation' => [
// 템플릿 설치 시 필수 컴포넌트 검증 활성화 여부
'validate_on_install' => false,
// 검증 실패 시 설치 차단 여부 (false면 경고만 표시)
'block_on_failure' => false,
],
/*
|--------------------------------------------------------------------------
| 레이아웃 설정 (Layout Settings)
|--------------------------------------------------------------------------
|
| 레이아웃 시스템 관련 설정입니다.
|
*/
'layout' => [
// 최대 상속 깊이
'max_inheritance_depth' => 10,
// 캐시 TTL (초)
'cache_ttl' => 3600,
],
];