Support the ongoing development of Laravel.io →

Gizmo

Joined 16 Mar 2021

Statistics

Threads 2
Replies 0
Solutions 0
Articles 0
posted 3 years ago

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
posted 3 years ago

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?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.