Calculate hours and minutes from end date and current date in laravel blade?

Solution:

 $end_date = \Carbon\Carbon::parse($data['end_date']);
        $start_date = \Carbon\Carbon::parse($data['start_date']);


        $value = $end_date->diff($start_date,2)->format(' %D days  %H hours - %I minutes');

for more details see:

https://www.php.net/manual/en/dateinterval.format.php