Support the ongoing development of Laravel.io →

Gouvi

Joined 9 Mar 2015

Statistics

Threads 0
Replies 8
Solutions 1
Articles 0

gouvi has not posted any threads yet

replied 7 years ago

Conditional relationships with Eloquent

I couldn't comment if there is logically a better solution. It certainly is not a bad one. I assumed...

0 Likes
replied 7 years ago

Modular structure on Laravel 5

It's mainly the concept, I implemented this with L5 with no problem. You can still setup an Admin co...

0 Likes
replied 7 years ago

How to access Auth::user()->id in __construct function of a Controller?

You could create a new request handler, then in your controller it's as simple as running <?php n...

0 Likes
replied 7 years ago

Modular structure on Laravel 5

This video helped me: https://laracasts.com/lessons/users-and-roles

0 Likes
replied 7 years ago

Auth::user() get relationships

Auth::user()->role()->name I think.

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.