POST requests are required to have a CSRF token in them. So you'll have to disable CSRF token verifi...
You should pass $data to closure by reference: DB::transaction(function() use ($user, &$data)
@archiequito, if you want to really dig into Facades and how they work, start with official document...
Oh man, I wish this was a thing a month ago. I've watched the whole series, but didn't bother to cod...
@joneswack, Yes, you need to define relations first, like in @tuyenlaptrinh's post. And chain your f...
The Laravel portal for problem solving, knowledge sharing and community building.