Support the ongoing development of Laravel.io →

4,314 Threads

Query to pull selected fields

Hello all, Rather new to Laravel 5, I am trying to pull data with its relation and define specific f...

0 Likes
2 Replies

Problem with Advanced Eloquent query.

Hello, Please help me. I am new to laravel 5, I know the basic operation of laravel 5. I want to cre...

0 Likes
0 Replies

Laravel single table inheritance and sync

I'm using simple table inheritance with Laravel (using a plugin like Nanigans/single-table-inheritan...

0 Likes
0 Replies

Getting data from a many to many in laravel 4

In my page I need to view data from a table I have a banners module and that module has a pivot tabl...

0 Likes
3 Replies

is really wise/necessary to validate a model's data with unit tests?

greetings, this question is not really about laravel, but more about unit testing with laravel, i'm...

0 Likes
0 Replies

Column type : array

Hello! I'm using a postgresql DB and have a column containing arrays (integer[]). Problem is I don't...

0 Likes
2 Replies
Solved

Many to Many using Resourceful Controllers?

I have two resources "Task" and "Resource" with a pivot in between. They are ref...

0 Likes
0 Replies
posted 10 years ago

pivot hell

I'm in pivot hell. Please help. I have 3 tables I need to pivot and can't figure out a clean way to...

0 Likes
2 Replies
Solved

Advanced collection filtering / search

Hey guys, I wonder what I am doing wrong when filtering joined tables. I don´t have problem with sim...

0 Likes
1 Replies
Solved

Fillable and Guarded properties

Hi. Been "learning" Laravel (4.2). Have questions about properties; $fillable and $guarde...

0 Likes
3 Replies
Solved

Laravel 5 hasMany relationship has null as query parameter

I have an Artist model and an Item model. class Artist extends Model { protected $table = 'conta...

0 Likes
2 Replies
Solved

Multi Table Query

I've got two three tables setup: users, posts, post_images. I have a foreign key setup on posts tha...

0 Likes
3 Replies

Laravel 5 Services

Until today i was working with Controller-Model (CodeIgniter for example) or Controller-Service-Gate...

0 Likes
4 Replies
Solved
posted 10 years ago

Eloquent Models and Lookup Tables

Hello again, I have an Eloquent model set up that contains a foreign key to a simple (id, name) look...

0 Likes
0 Replies
posted 10 years ago

Natural ordering of field name?

Hello folks, Is there a way to coerce an orderBy clause in to return the field sorted in a natural o...

0 Likes
3 Replies
Solved

How to paginate on MS SQL stored procedure results?

Hi, I am fetching data via an MS SQL Stored Procedure in the following manner: $historyData = DB::se...

0 Likes
0 Replies

display join table with multiple where clause

i'm trying to displaying single data like this id TenantID name username password sender...

0 Likes
1 Replies

Should I use mysql view in order to simplify my app?

Hello everyone. I have users, which has some indexes of progress. Depending on how user works in my...

0 Likes
3 Replies

Relationships in multi tenancy in Laravel Eloquent ORM

This is a follow up question to : http://stackoverflow.com/questions/29069101/multi-tenancy-in-larav...

0 Likes
0 Replies

Account > Transactions > Sender/Receiver Relationships

Hi Folks I currently have a blocks, accounts, transactions and contact tables. What I am trying to a...

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.