Support the ongoing development of Laravel.io →

4,606 Threads

Duplicates on querying db for products based on filters data

I have a simple filtering on my catalog. It allows me to choose the product based on its attributes...

0 Likes
2 Replies
Solved
posted 10 years ago

Converting SQL Query into Laravel

I want my query to return the rows of the table where a column contains a specific value first, and...

0 Likes
0 Replies

Eloquent swapping other data into new insert when it shouldn't be

Hello all! I'm having a rather frustrating time with an error and can not seem to work it out. I h...

0 Likes
2 Replies
Solved

SQLite Database on Capsule does not update

Retrieving records works correctly but updating items through save() does not do anything. It doesn'...

0 Likes
1 Replies

Eloquent Model outside Laravel, updating/deleting not working

Hi everyone, I'm using the Eloquent module outside of Laravel in this way (with sql server) // Compo...

0 Likes
4 Replies

Polymorphic relationship listing

I decided to test out polymorphic relationships and of course, I got stuck at the beginning. I want...

0 Likes
0 Replies

Dynamic Pages and Routes

Hey everyone, first post. I'm quite the beginner with laravel so sorry if I'm asking anything basic...

0 Likes
4 Replies
Solved

Auth login issue with Hash::make('secret')

Hi, I am new to laravel, and trying to developing login page using Auth tool. i am using following c...

0 Likes
2 Replies
Solved

How can I integrate an existing data base into a new laravel project?

Well! Eloquent it's so cool! but yesterday had a doubt...Can I work laravel whitout eloquent or how...

0 Likes
1 Replies
Solved

database.php values can be totally wrong but can still access my pgsql database! How?? Why??

Hello everyone! I am new to laravel framework and i am currently following the quickstart on the web...

0 Likes
1 Replies
Solved

"Trying to get property of non-object" error getting data from foreign table

My goal is to create a select list in a create.blade.php view. I'm not getting any errors with the D...

0 Likes
2 Replies
Solved

Access Last Modified Entry for User in pivot table

Hi everbody. I have a pivot table for a many-to-many relation between a User and a Recipe. So a user...

0 Likes
0 Replies

Eloquent query for Many to Many relationships

I have a table Roles and another table Menus with a pivot table Menu_Role. To build up the many to m...

0 Likes
3 Replies
Solved

Get last id of new inserted model

Hello, i am very new on Laravel and i ran into a serious problem getting the last id of the current...

0 Likes
0 Replies

Loop thru results special way

My query returns say 6 results from a find(). Now I need to display the first different from the res...

0 Likes
4 Replies

Querying multiple relations with Eloquent

Hi everyone, I'm now stuck for hours and I just can't find out the solution. I've got several tables...

0 Likes
0 Replies

[SOLVED]Query not matching the right IDs. How to specify?

Hi, I'm building an application where you can create your own lessons. A lesson has many slides and...

0 Likes
0 Replies

Form model binding - encode part into json or add seperate table

So i'm developing an application where parts of the form have data which are meant to populate other...

0 Likes
0 Replies

testing error

Hi Im having issues running tests migrations for example I have a package that add a column to the u...

0 Likes
0 Replies

Using ODBC with laravel

Hi guys I want to code in laravel and want to create some small projects for my company , but they u...

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.