Support the ongoing development of Laravel.io →

4,602 Threads

Updating exactly the same DB query

I have two rows, one for moods, and count. If user submit the same input i.e. "happy" then...

0 Likes
0 Replies

Render template from blade template in database

Hi guys, I'm planning to develop a multi tenancy application which allows users to modify their own...

0 Likes
3 Replies

Eloquent relation

Hello, I have two tables 'rooms' and 'reservations' (i don't have any relation between the two table...

0 Likes
0 Replies
posted 10 years ago

Pivot table from tables that are both from another database

I have a problem with a pivot table. I have two tables on MS SQL (they are from outer source, I can...

0 Likes
0 Replies

belongsTo via multiple fields

Hello, I'm in situation where I'm really old db-schema, that can't be change because of bunch of rea...

0 Likes
0 Replies

Help to write query

hello i have sql how can i write in Laravel this sql ? please help. (SELECT goods_id, name, img, ano...

0 Likes
2 Replies

Unique categories to parent?

Hey guys, Currently I have the following tables: Categories Listings (belongs to category) What I wa...

0 Likes
0 Replies

Join Search

Hy i have a search that now its works only if write or the first name or the last name, both didnt w...

0 Likes
4 Replies

Blank screen with route with parameter

Hello, i am new to laravel and I'm trying to make an application for my upcomming web about programm...

0 Likes
6 Replies
Solved

Change database schema builder TIMESTAMPS default value

would it be possible to change the Laravel schema manipulation for timestamps to set the DEFAULT val...

0 Likes
0 Replies

Getting deleted values via relations

I have 3 tables: vehicles, drivers and vehicle_driver_owners. drivers table includes all the registe...

0 Likes
0 Replies

Laravel Database 'whereNotIn' error

Hi guys, I'm trying to run the following queries and running into this error: preg_replace(): Parame...

0 Likes
1 Replies

Calling setHidden from outside model does not limit attributes?

I'm trying to limit the number of attributes that all() returns, but failing to do so by using setHi...

0 Likes
3 Replies
Solved

Eloquent delete from table when the last connection is detached from pivot

Hi! I have images and products table and the pivot table is image_product. What is the best way to a...

0 Likes
0 Replies

join without select() does not load child objects

If you're using a join in your query along with a "with" function to hydrate a child field...

0 Likes
0 Replies

Does Laravel only support ORM and not plain/raw sql?

Hi guys, can someone please tell me if Laravel supports raw/plain sql? I cant find it explicitly sta...

0 Likes
2 Replies
Solved

Editing in laravel

Hi I'm busy with a tutorial and when I try to use the edit line in the model, I end up having a blan...

0 Likes
4 Replies
Solved
posted 10 years ago

recursive category system

I am trying to write a global fn for my cat system that is in the base controller. here is the fn in...

0 Likes
0 Replies

Nothing to migrate

Hello, everyone. Can you help me? I have some problems with artisan migrate. The issue is, when i ex...

0 Likes
3 Replies
Solved

Laravel installation won't change from homestead database

I've setup my local Laravel installation to use a different database from the default Homestead one:...

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