'total_users' => User::count(),
'total_freelancers' => User::where('type', 'freelancer')->count(),
'total_clients' => User::where('type', 'client')->count(),
'total_projects' => Project::count(),
'active_projects' => Project::whereIn('status', ['open', 'in_progress'])->count(),
'completed_projects' => Project::where('status', 'completed')->count(),
'total_commissions' => Commission::sum('total_commission'),
'total_commission_this_month' => Commission::whereMonth('created_at', now()->month)
->whereYear('created_at', now()->year)
->sum('total_commission'),
aaaaaaaaaaaaaaaaaaaaaaaaaa
Completed
Project Description
Skills Required
digital marketing
seo
google ads