How to make time reminder in view using laravel

  laravel, php

My code :

{{CarbonCarbon::now()->diffForHumans(CarbonCarbon::parse($sub->created_at))}}

Output : 1 hour after

I want to make a time reminder on my website but the result is not what I want. I want the output of the code like this: ( 1 hour more) or if possible I want it like this: ( 1 hour 30 minutes 25 seconds more ) can you help me?. I’ve been trying all day but it didn’t work

Source: Laravel

Leave a Reply