Support the ongoing development of Laravel.io →

Eloquent eager loading: children are missing parent reference (sort of N+1)

Note: this is a crosspost of: http://stackoverflow.com/questions/33674198/laravel-eloquent-eager-loa...

0 Likes
0 Replies

CSRF token for RESTful Controllers?

I am creating an API with RESTful Controllers, how can I utilize the CSRF token protection provided...

0 Likes
0 Replies

Response::download returning broken images

My problem I am using a function to download files when a user clicks on them. The file is downloade...

0 Likes
2 Replies

Lackluster API documentation.

Hi, I have been recently looking into Laravel coming from a JavaScript (and some Java) background. I...

0 Likes
2 Replies

How to solve the issue with RegisterRequest ?

The issue appears when I want to registrate my user (click submit button). Login works great. I use...

0 Likes
0 Replies

Are views in exception handler broken in Laravel 5.1?

I'm trying to load some view in Laravel 5.1 exception handler (/app/Exceptions/Handler.php). In my r...

0 Likes
0 Replies
posted 9 years ago

Problem with saving sorted data

Hi, I fetch data from database, then i have to sort it that way: $document->details = $document-...

0 Likes
0 Replies

Best way to do responsive images with Intervention and Bootstrap

I've got Intervention running with Bootstrap but regardless of what I do I end up loading the full i...

0 Likes
0 Replies

Traffic from Google is not signed in

I have my browser open, I visit my website and login. Then, in the same browser window, I navigate t...

0 Likes
1 Replies

Error post method variables

I have problems with the POST method during the passage of the variables: POST http://test.deleks.co...

0 Likes
1 Replies

Getting all from a polymorphic one-to-many relation with eager loading

I have a Favourite Model which will store many different types of favourites (favourite quiz, questi...

0 Likes
0 Replies

Querys to pivot tables

I didn't see in the documentation how to use eloquent for querys in the pivot table. Having: posts...

0 Likes
0 Replies

Sessions issue in blade on server hosting

i have a blade in which i have a div. the div gets the data from session. also on the same blade i h...

0 Likes
0 Replies

routes.php new route is not picked up by Laravel or Nginx?

I've been working on my project for a while. Today I added a new entry in my routes.php: Route::get(...

0 Likes
2 Replies

Data from one view is shared with all views.

Hello, I have recently installed laravel debugbar (https://github.com/barryvdh/laravel-debugbar) and...

0 Likes
2 Replies
posted 11 years ago

About Redirect when CSRF Exeption happen

Hi first sorry about my spelling. Ok, i want to use the default csrf filter on BaseController.php bu...

0 Likes
3 Replies
Solved

Lines-Details Table Relationships

Hello, When I need details tables without laravel I use a pk compound column, however I was reading...

0 Likes
1 Replies
Solved

multiple remember_me tokens are set while using Auth::attempt() in my custom driver

Hi, I have made a custom auth driver base on the documentation, but as I check my database and used...

0 Likes
0 Replies

TokenMismatchException in loging to website

Hello to every one . I have two websites in my xampp localhost folder . both of them are having logi...

0 Likes
1 Replies
posted 9 years ago

Auth::user() return null

I've created login form then I try to login. It work but Auth::user() return null; I try to dump var...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.