how to use carbon on view laravel code example Example: use Class 'Carbon' inside view //use this method inside the view \Carbon\Carbon::now();