Obtenir un ID utilisateur enregistré Laravel
$id = Auth::user()->id;print_r($id);
Proud Pigeon
$id = Auth::user()->id;print_r($id);
use Illuminate\Support\Facades\Auth;
$userId = Auth::id();
// Laravel 5.x
php artisan make:auth
php echo $auth-id