Support the ongoing development of Laravel.io →
Gizmo

Gizmo

Joined 16 Mar 2021

Statistics

Threads 2
Replies 0
Solutions 0
Articles 0
6 May, 2021 at 01:04

Get table name inside static boot method and global scope

I use global scope based on the current auth but getting error: Integrity constraint violation: 1052...

0 Likes 0 Replies
16 Mar, 2021 at 05:12

String convert table name to label

Is there a cleaner way of doing it without nesting 3 functions? `$table = 'user_contracts'; $label =...

0 Likes 1 Replies

gizmo has not posted any replies yet

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

Your logo here?

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

© 2021 Laravel.io - All rights reserved.