Calculez les jours restants exposés Laravel, jours négatifs si la date est passée

//If you want to get the negative values, you would need to pass false as the second parameter of the diffInDays function.

Carbon\Carbon::now()->diffInDays($patient->date_end, false)
  
//The second parameter sets whether you want the absolute difference or not. Default is true, which returns absolute difference.
SAMER SAEID