Class 'App\Carbon\Carbon' not found Laravel 5
<p>I recently <strong>run</strong> <code>sudo composer update</code></p>

<p>Now on one of my pages, I kept getting </p>

<p><a href="https://i.stack.imgur.com/rholV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rholV.png" alt="enter image description here"></a></p>

<p>I did use</p>

<p><code>$now = Carbon\Carbon::now('America/New_York');</code></p>

<p>in line <code>792</code> on my <code>Helper.php</code>  </p>

<p>My <strong>Helper.php</strong> located at <code>app/Helper.php</code></p>

<p>How do I prevent this ? </p>

<hr>

<p>This is what I have in my aliases </p>

<pre><code>'aliases' =&gt; [

    'App'       =&gt; Illuminate\Support\Facades\App::class,
    'Artisan'   =&gt; Illuminate\Support\Facades\Artisan::class,
    'Auth'      =&gt; Illuminate\Support\Facades\Auth::class,
    'Blade'     =&gt; Illuminate\Support\Facades\Blade::class,
    'Bus'       =&gt; Illuminate\Support\Facades\Bus::class,
    'Cache'     =&gt; Illuminate\Support\Facades\Cache::class,
    'Config'    =&gt; Illuminate\Support\Facades\Config::class,
    'Cookie'    =&gt; Illuminate\Support\Facades\Cookie::class,
    'Crypt'     =&gt; Illuminate\Support\Facades\Crypt::class,
    'DB'        =&gt; Illuminate\Support\Facades\DB::class,
    'Eloquent'  =&gt; Illuminate\Database\Eloquent\Model::class,
    'Event'     =&gt; Illuminate\Support\Facades\Event::class,
    'File'      =&gt; Illuminate\Support\Facades\File::class,
    'Gate'      =&gt; Illuminate\Support\Facades\Gate::class,
    'Hash'      =&gt; Illuminate\Support\Facades\Hash::class,
    'Input'     =&gt; Illuminate\Support\Facades\Input::class,
    'Inspiring' =&gt; Illuminate\Foundation\Inspiring::class,
    'Lang'      =&gt; Illuminate\Support\Facades\Lang::class,
    'Log'       =&gt; Illuminate\Support\Facades\Log::class,
    'Mail'      =&gt; Illuminate\Support\Facades\Mail::class,
    'Password'  =&gt; Illuminate\Support\Facades\Password::class,
    'Queue'     =&gt; Illuminate\Support\Facades\Queue::class,
    'Redirect'  =&gt; Illuminate\Support\Facades\Redirect::class,
    'Redis'     =&gt; Illuminate\Support\Facades\Redis::class,
    'Request'   =&gt; Illuminate\Support\Facades\Request::class,
    'Response'  =&gt; Illuminate\Support\Facades\Response::class,
    'Route'     =&gt; Illuminate\Support\Facades\Route::class,
    'Schema'    =&gt; Illuminate\Support\Facades\Schema::class,
    'Session'   =&gt; Illuminate\Support\Facades\Session::class,
    'Storage'   =&gt; Illuminate\Support\Facades\Storage::class,
    'URL'       =&gt; Illuminate\Support\Facades\URL::class,
    'Validator' =&gt; Illuminate\Support\Facades\Validator::class,
    'View'      =&gt; Illuminate\Support\Facades\View::class,

    /*
     * Extra Alias ...
     */

    'Form'        =&gt; 'Illuminate\Html\FormFacade',
    'Html'        =&gt; 'Illuminate\Html\HtmlFacade',

    /*
     * Custom ...
     */

    'VSE'         =&gt; App\VSE::class,
    'Helper'      =&gt; App\Helper::class,
    'DateHelper'  =&gt; App\Helpers\DateHelper::class,
    'DD'          =&gt; App\Helpers\DD::class,
    'Facebook'    =&gt; SammyK\LaravelFacebookSdk\FacebookFacade::class,


],
</code></pre>

<hr>