Initial V2 commit 4

This commit is contained in:
Hamza-Ayed
2026-04-22 23:16:23 +03:00
parent 3269a836a2
commit 3f4afd0f5c
47 changed files with 456 additions and 72 deletions

View File

@@ -12,8 +12,14 @@ use Illuminate\Http\JsonResponse;
use Illuminate\Support\Facades\DB;
/**
* Profile Controller
* Replaces: ride/profile/get.php, getCaptainProfile.php, update.php, updateDriverEmail.php
* متحكم الملف الشخصي (Profile Controller)
*
* الغرض من الملف:
* إدارة البيانات الشخصية للمستخدمين (سائقين وركاب).
*
* كيفية العمل:
* 1. يعرض بيانات المستخدم الحالية بعد فك تشفير الحقول الحساسة.
* 2. يسمح للمستخدم بتحديث بياناته مثل الاسم أو البريد الإلكتروني.
*/
class ProfileController extends Controller
{