×
×
Project Tutorials
Introduction of Laravel Setup and Installation of Laravel Project Laravel Structure Create Login Page Design Validation on Login Login with Database Display Username after Login Logout Register Design Dashboard Page Add Product List Products from Database Edit product from database Active Inactive user statusDisplay Username after Login
In this tutorial, I will teach you, how to create display user name after login. It means when user login is success. then we will show name and email on dashboard.
Step 1 : Open your dashboard page (successlogin.blade.php) and enter these codes to show user name and email on dashboard page.
<div class="alert alert-success success-block" style="text-align: center;">
<strong>
Welcome : {{ Auth::user()->name }} <br>
<p>Your email is : {{ Auth::user()->email }} </p>
</strong>
</div>
Result :
Source Code:
Small Laravel Project
In this project. We are providing you, how to create small project in Laravel....
Source CodeElevenstech Web Tutorials
Elevenstech Web Tutorials helps you learn coding skills and enhance your skills you want.
As part of Elevenstech's Blog, Elevenstech Web Tutorials contributes to our mission of “helping people learn coding online”.
Read More
Newsletter
Subscribe to get the latest updates from Elevenstech Web Tutorials and stay up to date
Copyright 2018 - 2024 Elevenstech Web Tutorials All rights reserved.