Support the ongoing development of Laravel.io →

4,314 Threads

Routing To Multiple tables

I'm just learning Laravel so this question may seem simple but not to me. Example: I have a view wit...

0 Likes
0 Replies

Model insert fail with MSSQL + trigger

I have one particular Eloquent model that is giving us seemingly random problems with inserting. Tha...

0 Likes
0 Replies

[SOLVED] Many-to-Many relationship - save() trows Integrity constraint violation

Hello, before to explane the problem, I try to make clear the situation of my system. I'll indicate...

deepakjd liked this thread

1 Likes
0 Replies

static::create vs DB:insert.

If I use the following code snippet in my model it inserts the data: $fillable = ['email', 'username...

0 Likes
0 Replies

Class '\User' not found! Help!

Hi! I have problem with User model. My folder structure #app/ ##Snippet ###Providers ####Repositorie...

0 Likes
4 Replies
posted 10 years ago

Eloquent - Querying Count

Hello -- I would like to add a function to my model: (assume a blog where users have posts, and post...

0 Likes
1 Replies

variable not defined

I'm attempting to run Daryl Rees example of Games website. But when I launch my site I get the follo...

0 Likes
3 Replies

convert sql query to laravel

Hello i need help to convert query to laravel select login,name from mt4_users,users_agents where mt...

0 Likes
1 Replies

How to pass additional parameters to the Eloquent model's create and update methods?

Hello everyone, I am a Laravel newbie and still trying to find my way around it. I am overloading th...

0 Likes
1 Replies

Eloquent group by relationship date

I have a topics and links tables on Laravel 4.2 with Eloquent ORM. They have a relationship like thi...

0 Likes
0 Replies

Erros Database Mysql

Hello, What is the reason this error? http://prntscr.com/5ogmvq Is indicating the wrong way from my...

0 Likes
5 Replies
posted 10 years ago

Scope based on extra Pivot columns

Hopefully the following code will set up background. class Freelancer extends Eloquent{ public f...

0 Likes
0 Replies

class not found

When I open my page using the cats DB from the book "Getting Started with Laravel 4" I get...

0 Likes
1 Replies

PDF populate IRS forms

I have not done much in the way of creating PDFs and wanted to find out if it was possible to take a...

0 Likes
1 Replies
posted 10 years ago

Undefined variable in Eager Load Constraints

I got ErrorException Undefined variable: skip using the following code. $skip = ($page -1 ) * 10;...

0 Likes
1 Replies
Solved

Polymorph vs 3 Foreign Key

Hi all, If I have 3 tables (users, organizations, guest) who share the same feature, it's ok to put...

0 Likes
1 Replies
posted 11 years ago

Eager loading with constraints returns all items

Hi, I want to get products with a seri name contains a certain word. However it returns all products...

0 Likes
3 Replies

How to find different field by laravel find method?

I know there are a method what called find in laravel, I have a table with this structure (articles...

0 Likes
1 Replies
Solved

Relationship understand problem

Hello, i try to get all datas (relation inlcude) from a user table but i cannot get somme values. cl...

0 Likes
1 Replies

Help with Laravel error : Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException

Hello, I'm new to laravel, and I'm trying to learn the framework by following a book. In that book t...

0 Likes
3 Replies
Solved

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.