Support the ongoing development of Laravel.io →

4,311 Threads

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 9 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 9 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 9 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

Multiple relationships on same model

What I try to do is a relationship with eloquent between a model called "Location" and a m...

0 Likes
1 Replies
Solved

Relationship scope

Hi, I have two models, "Article" and "ArticleDescription". "Article" h...

0 Likes
2 Replies

Two user authentication systems

I have a system I will be developing that has an admin side and a client side. The users for each en...

0 Likes
0 Replies

sqlsrv unable to use created_at / updated_at

I am using sqlsrv to connect to Microsoft SQL server 2008. If I put the following in my view {{ $use...

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.

© 2024 Laravel.io - All rights reserved.