Support the ongoing development of Laravel.io →
Database Packages Architecture
Last updated 2 years ago.
0

Can anyone help me, please?

0

Sentry may be an overkill for your case, but if you think it may come useful in the future and you have time to study it, this could actually be a good opportunity to integrate it.

Otherwise you could just add some sort of role field to users table and check it in a custom middleware assigned to controllers/routes you want to restrict access to.

0

Ok, thank you. There is online an example in which I can see how to extend a model and use Eloquent?

0

I would suggest you watch Laravel 5 Fundamentals series.

0

Yes, I'm learning with this series, and I have see the first half of lessons, but I've not found anything about.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

lovePizza lovepizza Joined 13 Mar 2014

Moderators

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.

© 2024 Laravel.io - All rights reserved.