Hi! Does anyone of you have (or could write) a complete, working with Laravel 5.2 tutorial of Ajax u...
Hi! I'm new in Laravel and I have a little problem with User and Roles. In a database I have users a...
@alexisdeza Thank you for your example – it was very helpful. Now, my ajax request works, but I have...
I added foreign key, but I think, I can't use hasOne in my situation, because an one user has an one...
I think the problem is not here. For example I changed my function for this: $users = User::with(['r...
It's my migration for roles table: Schema::create('roles', function (Blueprint $table) { $table-...
I analyzed it in DebugBar. For $query->where('admin', true); it returns: select * from `users` se...
The Laravel portal for problem solving, knowledge sharing and community building.
The community