Support the ongoing development of Laravel.io →

4,311 Threads

Class '\User' not found! Help!

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

0 Likes
4 Replies
posted 9 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 9 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 9 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 10 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

Select fields in complex with() queries

Hello @all, i am currently struggeling in one of my data-selections. the data are being read from a...

0 Likes
3 Replies
Solved

Creating a messenger that can send to multiple users

Hi people of laravel.io, I would like a messaging system on the app I am developing but I am very ne...

0 Likes
3 Replies

Updating database records

HI all, Just a little thing I have been pondering over today. What is your opinion of this?? I norma...

0 Likes
2 Replies
Solved

Laraval 5. Eloquent model returns extra stuff?

I am just beginning to learn Laravel 5, I am doing this: public function update($id, Request $reques...

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

© 2024 Laravel.io - All rights reserved.