I have component A, users, which connect to component B, addresses. One user has one address, always...
How do you solve the following: I'm working on a subpackage to my main project. Using the Workbench...
Is it possible to customize where the system looks for the environment config folder? For instance i...
I'm trying to set up multiple sites to share the same Laravel codebase, but be self-contained and ha...
You are right. I modified the code slightly before pasting it here and messed it up. In my live code...
Argh. Not quite there yet it seems. My User model: public function address() { if (!array_key_ex...
Nice, @jarektkaczyk, thanks I'll try that. Btw your code contains $this->categories->first(),...
The Laravel portal for problem solving, knowledge sharing and community building.
The community