Support the ongoing development of Laravel.io →

4,606 Threads

Problem routing

After loading the view with the columns, there are three opciones: add data, edit or remove current...

0 Likes
2 Replies

Filtering multiple relationships

Hi, I have the following models and relations: Ads has many-to-many with Cities Ads has many-to-many...

0 Likes
1 Replies

Eloquent query on pivot table of a pivot table

Hello, i am stuck on an eloquent query. I am rewriting an old app based in symfony 1.4 for Laravel 5...

0 Likes
0 Replies

Conditional Nested Eager Loading in Eloquent.

Hi All, I have below mentioned relationship in my L5 App. 1.Quiz -----one to many-----...

0 Likes
5 Replies

Generate Model out of the existing MySql Database

Hello everybody, i have this very huge existing database. Is there any way in laravel that I could a...

0 Likes
0 Replies

Use of undefined constant id

I got this error when i try to see the content. Use of undefined constant id_web - assumed 'id_web'...

0 Likes
10 Replies
Solved

Array to form

I have database outpu like [{"lessonTypeId":"1"},{"lessonTypeId":"...

0 Likes
2 Replies
posted 10 years ago

Laravel Conventions

I'm curious as to what conventions I should use/follow. Specifically when it comes to naming tables...

0 Likes
7 Replies
Solved

Laravel query controller support

I have in controller : $lista = Lesson::where('id', $id_less) ->with(['user' => function ($q)...

0 Likes
0 Replies

Laravel sum problem

Hi, i have two table: LECTURES id name 1 Lesson 1 2 Lesson 2 3 Lesson 3 LECT...

0 Likes
3 Replies
Solved

Change query based on variable from URL

All in the interest of learning Laravel and better coding. This is my controller: public function in...

0 Likes
2 Replies
Solved

Transactions in Laravel 5

Hi, I have trouble with a transaction. I want to improve a dashboard view in my applicaton. To do so...

0 Likes
4 Replies

Menu builder (database)

I want to build a menu where the data comes from database but i don't know where to start. the menu...

0 Likes
1 Replies
Solved
posted 9 years ago

Error that comes up while uploading products via. CSV. Mainly when more then 900 products are uploaded.

Illuminate\View\Engines\CompilerEngine handleViewException …/­vendor/­laravel/­framework/­src/­Illu...

0 Likes
1 Replies

Search Function

Hello, I am new here but I am not new to Laravel, however I am still learning and I want to improve....

0 Likes
7 Replies
Solved

How attach after save another model

Hi friends, help me please, how I can do for save InventorEntry model and get the id for attach a pr...

0 Likes
0 Replies

Model does not have "restored" event?!

I am trying to use MyModel::restored event inside MyModel::boot method but Laravel says restored fun...

0 Likes
6 Replies
Solved
posted 11 years ago

Replaced table and now "Trying to get property of non-object"

I'm redoing a site in Laravel. I've had to rename columns to align better with Laravel's syntax. Tha...

0 Likes
4 Replies

restored_at timestamp?

Is it possible to add a restored_at timestamp for restoring soft deleted records?

0 Likes
4 Replies
Solved

"Loading" model event? Need to adjust attributes of unknown names...

Hey Guys, I have been doing some Timezone work on my app. I need the database to be 100% UTC based....

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