Skip to content

PHP code snippet – How to get the auth id in lravael?

$userId = Auth::id();
See also  How to print a random part of a list in Python?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.