64 words, 1 min read
    
  
  ⚠️ This post links to an external website. ⚠️
By default, Laravel uses
Carbonfor dates, but the object returned by the\Illuminate\Support\Facades\Datehelper is mutable.To configure Laravel to use
CarbonImmutableinstead, call this method in yourAppServiceProvider'sboot()method:Just make sure to use Laravel's
Datefacade instead ofCarbondirectly in your application code.
continue reading on rias.be
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.
