Support the ongoing development of Laravel.io →

Catching unique constraints on mass/chunked insert?

I have a controller where I am taking an uploaded CSV (which can go up to 5-6MB in size), and I have...

0 Likes
0 Replies

How to prevent config cache from using absolute default storage paths?

As I understand, Laravel 5.2 has finally got rid of .env (which was not really meant for production,...

0 Likes
0 Replies

Store daily website stats

What's the best way to store daily website statistics? Like how many stored and deleted resources. I...

0 Likes
0 Replies
posted 11 years ago

"502 Bad Gateway" in Vagrant (Permission Denied?)

Hi, I have been developing Laravel on the same vagrant server for 3 weeks now, but it suddenly stopp...

0 Likes
10 Replies
Solved

Not able to display Json value to UI

IndexController.php <?php namespace MarketSpace\Http\Controllers; use Illuminate\Http\Request; c...

0 Likes
0 Replies
posted 11 years ago

Eager load optimization

Hi, I have the following models : class A extends Eloquent { public function b1() { retu...

0 Likes
4 Replies
Solved

Single User at a Time Login

Has anyone managed to implement a system that prevents multiple logins for the same user name/id? I...

0 Likes
1 Replies
Solved

retrieve not directly related attributes using eloquent

I've currently no idea how to get this done in a smart way. I would like to prevent writing tons of...

0 Likes
1 Replies

Better way or writing routes.php file

Hi there, i'm learning laravel and my project is getting just slightly bigger and I feel that my rou...

0 Likes
2 Replies

remember token always null using guard in laravel 5.2

["remember_token"]=> NULL i have two guards in my auth the first one is "comp...

0 Likes
0 Replies

Help me to convert this query as per laravel query syntax

Query I want to convert is : SELECT brands.url_key,devices.* FROM brands INNER JOIN devices ON devic...

0 Likes
1 Replies

Lumen return timestamps in response instead of date time.

Hi I've been searching around a little bit but cannot seem to find it. I have a a column in my datab...

0 Likes
1 Replies
Solved

Problem testing file upload

I'm trying to test a file upload but when action is touched, there is no file in Input::file. This i...

0 Likes
1 Replies

Establishing Laravel hasMany relationship using non-primary keys

I know this question was asked before and I have tried solutions from those posts but I still cannot...

0 Likes
0 Replies
posted 9 years ago

How can I see which OTHERS threads I did interact with?

It would be nice to return to a thread I have been giving my thoughts in and see if the author needs...

0 Likes
2 Replies
posted 9 years ago

Creating admin login

Hi everyone, i have just finished building the views for the admin pages but i want the user to the...

0 Likes
0 Replies

How to return information from a third table?

Hi, I am having difficultly understanding how to return information from a distant third table. I ha...

0 Likes
3 Replies

Redirecting back

I'am using laravel 5.1 and i have this two routes Route::get('/profile',array('uses'=>'ProfileCon...

0 Likes
1 Replies
posted 9 years ago

Eloquent, shortcut to another model

Hey, I have two 3 models all of them work fine and each one links to the one above. Company Distribu...

0 Likes
3 Replies
Solved

Laravel 5: Before redirct set validtion error to view page

i am calling the form from ajax and after submitting the form, validation error message not showing,...

0 Likes
6 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.