@gretschduojet Laravel cookies are encrypted. You won’t be able to use them outside of Laravel without a lot of effort, involving pulling parts of Laravel’s core into your vanilla PHP application.
May 12, 2015
4
Level 3
Laravel backend on PHP site how to show user is logged in
Hello,
I have an existing site that I built a backend for in Laravel. The existing site is just straight php and not written in Laravel. When a user logs into the Laravel backend I have a dropdown link where the user can go to their profile and logout. However, I'm not sure how to display that the user is logged in when they go to different parts of the site that aren't built in Laravel. I'm guessing I would need some type of global cookie, but I'm not sure what the best way to do this is. Thank you in advance for the help.
Please or to participate in this conversation.