Temukan Diiference dalam hitungan menit un laravel

 $to = \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', $code->created_at);
            $from = \Carbon\Carbon::createFromFormat('Y-m-d H:i:s', now());
            $diff_in_days = $to->diffInMinutes($from);
Thankful Tern