I guess you can do it like this.
Str::of($table)->title()->replace('_', ' ')->singular();
gizmo liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community