Hi guys, any of you tried to send the notification from inside a Command? I am using the notifiable...
Hello, I have User model public function sendPasswordResetNotification($token) { $this->notif...
Hi, I know, I know.. you will call me crazy, but the profile name text in the header is too close to...
Hello, I have User model and several other models that belongsTo User. I have a lot of routes for ch...
Hi, I have a website (currently in development) where users can upload their photos. I am deciding w...
What does dd($request->file('image')); return?
From official docs: $posts = App\Post::withCount(['votes', 'comments' => function ($query) {...
Maybe there is an elegant solution with eloquent, you can try this... $company->addresses()->w...
You have company_id, address_id and number. Just delete the record manually from the pivot (not with...
I think so yes. From official docs: App\Flight::create(['name' => 'Flight 10']); is for mass ass...
The Laravel portal for problem solving, knowledge sharing and community building.