I want to get the value of Auth::user()->id in the non blade file.
I tried to
<?php namespace AppHttpControllers; use AppHttpControllersAuth; echo Auth::user()->id; ?>
But i am always getting the
Fatal error: Class 'AppHttpControllersAuth' not found in D:Developmentchatresourcesviewslayouthtmlliked_you.php on line 4
What is the mistake i am doing and how can i get the value of
Auth::user()->id in my file.