Support the ongoing development of Laravel.io →

4,606 Threads

Count of records as relationship's return in Laravel 5.0

I want to get a count of records in table 'opinions', which is the relationship for my query. At thi...

0 Likes
0 Replies

Define relationships of a pivot table with more than 2 foreign keys

I cannot get my head on how to define the tables relationships when using a pivot table having more...

0 Likes
5 Replies

SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

I have designed a website with Laravel 4.2 , it runs correctly in my localhost (Xamp),but when I upl...

0 Likes
4 Replies

Query with relationship count operation

Hey, i'm doing a query in which i want to select all models with a column value smaller than their r...

0 Likes
1 Replies

Leak of memory when adding to database

Hello, My application import some large (7mb) csv files and parse them using "Maatwebsite/Larav...

0 Likes
5 Replies

Does DB::raw affect when uploaded on server?

Currently using this code to fetch data on mysql and its working on my localhost but when I uploaded...

0 Likes
0 Replies

Manually created pagination always returning the full list

I couldn't use the paginate()-method anymore cause I needed to add an extra attribute to every eleme...

0 Likes
2 Replies
Solved

Bulk insert

Hello. Is it possible to insert bulk data of 1 million generated rows (by php) ?

0 Likes
4 Replies

Get all subcategories ids

http://laravel.io/bin/zj5zq Here is my category tree I want to get all ids of subcategories from inf...

0 Likes
0 Replies

Custom Query

I have something that I'm trying to do that is probably against the norm, but here is what I'm doing...

0 Likes
0 Replies

Order By closest to today

I am trying to order a eloquent database call by date closest to today Something like this: o...

0 Likes
4 Replies
Solved

where method is not working correctly

I have a tinyint column named 'status' in the database which is created by boolean function of migra...

0 Likes
7 Replies

Architecture - Where do I put this class?

Let me set the scene, so to speak. I have an "Item" class which has different food items (...

0 Likes
1 Replies

Get unassigned users in a many to many relationship

Hello. I am trying to get all users that are not currently assigned to a location in a many to many...

0 Likes
0 Replies

Password Reset with different user column names

My users table has the prefix user in front of all columns. My email and password fields are userEma...

0 Likes
2 Replies

SQLSTATE[HY000] [1044] Access denied for user ''@'localhost' to database 'forge'

hi all :) I'm working on nitrous io..( i'm super newbie for setting server & db ) done install l...

0 Likes
12 Replies

drop table Password reset

hi i drop manual table password reset and after this i want to run php artisan migrate:rollback thro...

0 Likes
4 Replies
Solved

need help on task manager and notification

hello i am working on mi graduation project and mi app using laravel,it will be a project manager so...

0 Likes
1 Replies

Build a forum with Laravel

I need to build a website that have a forum. I love Laravel so much, but I didn't find out any packa...

0 Likes
3 Replies

Laravel 4.2 WhereBetween Not Working

Hi Guys, Please help me for this question. http://stackoverflow.com/questions/31669501/laravel-4-2-w...

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