Hi John,
In you can access the current authenticated user using:
Auth()->User()
So for this example you could use
Auth()->User()->id
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community