chore(payment): NHN KCP와 NICE 결제 플러그인 개발 브랜치 분리

정식 develop에서는 기본 번들 정책에 따라 제거된 결제 플러그인을 별도 개발 브랜치에서 계속 유지보수할 수 있도록 복원한다.
This commit is contained in:
thisgun committed 2026-07-02 20:03:22 +09:00
1 parent 49b21e788c
commit 657f546efc
651 files changed
+49118 -20476

No files matched your search

@@ -1,55 +0,0 @@
<?php
namespace App\Http\Requests\Settings;
use App\Extension\HookManager;
use Illuminate\Contracts\Validation\ValidationRule;
use Illuminate\Foundation\Http\FormRequest;
/**
* 설정 복원 요청 FormRequest
*
* 백업에서 설정을 복원할 때 백업 경로를 검증합니다.
* 권한은 라우트의 permission 미들웨어(core.settings.update)가 담당합니다.
*/
class RestoreSettingsRequest extends FormRequest
{
/**
* 요청 권한을 확인합니다.
*
* 권한 검사는 permission 미들웨어 체인에 위임하므로 항상 true 를 반환합니다.
*
* @return bool 항상 true
*/
public function authorize(): bool
{
return true;
}
/**
* 검증 규칙을 반환합니다.
*
* @return array<string, ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
$rules = [
'backup_path' => 'required|string',
];
// 모듈/플러그인이 validation rules를 동적으로 추가할 수 있도록 훅 제공
return HookManager::applyFilters('core.settings.restore_validation_rules', $rules, $this);
}
/**
* 검증 오류 메시지를 반환합니다.
*
* @return array<string, string>
*/
public function messages(): array
{
return [
'backup_path.required' => __('settings.backup_path_required'),
];
}
}