Switching to Carbon like Laravel