Support the ongoing development of Laravel.io →

4,311 Threads

HTML form facade

I am new to laravel 5. In L5 there is no Illuminate/Html in the core instalation. So I put that in...

0 Likes
2 Replies
posted 9 years ago

issue with table relationship in the DB

Hi all, i have this issue with table relationship in the DB, that i want to solve ASAP, please. when...

0 Likes
0 Replies

Convert SQL to eloquent

Eloquent is driving me mad :-( I need to convert the following SQL to Eloquent. Ideally I want to us...

0 Likes
0 Replies
posted 9 years ago

Updating sync()'d Data

I have a "profile" table and an "officer" table with the pivot table officer_pro...

0 Likes
3 Replies

(Please help me :( )Column Values Not Showing in Show Page

Hi, I'm having a problem right now. Please help me. I have 2 main page. The Homepage(index.blade.php...

0 Likes
4 Replies
posted 10 years ago

Indirect modification of overloaded property has no effect

I feel like this is easy to fix, but it gives me a headache. The following code throws the error Ind...

0 Likes
2 Replies
Solved

eloquent equivalent of SQL_CALC_FOUND_ROWS

I've been using Eloquent in a project outside of Laravel, and I needed pagination, so I built my own...

0 Likes
2 Replies

super Easy Global Scope definition

If you ever created complex global scope constraint, you must have faced a challenge with defining r...

0 Likes
0 Replies
posted 9 years ago

Getting list of threads with latest message in Laravel

I need some help getting a list of threads with the latest message from my database using eloquent....

0 Likes
1 Replies
posted 9 years ago

Eloquent: sort by pivot table?

I have 'products', 'categories' and 'category_product'. How can I return a list of products, sorted...

0 Likes
1 Replies
posted 9 years ago

Wrong query generation

Hello, I have the following code: abstract class I18NEntity extends \Entity { protected $appends =...

0 Likes
0 Replies

Help with HasOneThrough method (i think?)

Fairly new to Laravel having been away from PHP, and coding in general, for about 6 years. I've got...

0 Likes
0 Replies

Multiple data bases or best practice

Hello, im having a logic problem, sorry if this is not the place to put this. Im working on an app f...

0 Likes
4 Replies

Adding an author and Editor to my model (hasOne) results in error

I tried adding an author and editor in my company model, I would like to be able to not only know th...

0 Likes
1 Replies

Undefined variable in view

Hi I have been trying to solve this for two days now, I do not have any hair left. My routes file: &...

0 Likes
2 Replies
Solved

can't change users table name to members

So I changed the users table to members in a laravel 5 application. I also changed the config/Auth f...

0 Likes
5 Replies

Insert and delete from one method

I am using laravel 5.1. Now I have to move a data of row from table A to table B using primary key.H...

0 Likes
0 Replies

How to do query caching with dependencies like in Yii2 ?

Let's say that I want to cache some query based on some condition ( dependency ). For example, I hav...

0 Likes
0 Replies

Work out what page a record is on using pagination

I would like to be able to locate a record by scrolling to the "page" it is on. Obviously...

0 Likes
0 Replies
posted 9 years ago

Undefined Method Error

Starting my first laravel project so I may be really off as I am trying to piece things together. R...

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.