if (user is registered) { display his username } else { display a generic username }
You might want to consider using a presenter class to remove that logic from view. Check this package
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community