@php // Get plan details use App\Models\User; $plan = User::where('id', Auth::user()->id) ->where('status', 1) ->first(); $plan_details = json_decode($plan->plan_details); @endphp