Support the ongoing development of Laravel.io →

4,606 Threads

Querys to pivot tables

I didn't see in the documentation how to use eloquent for querys in the pivot table. Having: posts...

0 Likes
0 Replies

Lines-Details Table Relationships

Hello, When I need details tables without laravel I use a pk compound column, however I was reading...

0 Likes
1 Replies
Solved

Disable unique validation attribute if the value hasn't changed?

How do I disable the unique validation attribute when the value of the specified field is not change...

0 Likes
0 Replies

Image not found

It's getting images from IPB forum but there are many types jpg;gif;png <img src="http://*/u...

0 Likes
1 Replies

Has Many Through?

Categories id | title | parent_id Products id | title | category_id The categories table self join...

0 Likes
0 Replies

Site wide menu

Hello guys, I am newbie in Laravel (Laravel is very well framework) :-), firstly - I am so sorry for...

0 Likes
1 Replies
posted 9 years ago

Multiple subjoin in laravel

How can I use a structure of multiple join in laravel. An example Users::join ('articles', function...

0 Likes
2 Replies

Database Design Question

I built a simple CRUD app using Laravel that uses a single main table and Laravel's built-in user au...

0 Likes
0 Replies

Form Input Datepicker - Only Month and Year?

I am wanting to add a datepicker to my form that only uses Month/Year. I'm currently using {...

0 Likes
2 Replies
Solved

Laravel - Cashier: Resume a single payment

Hello, is it possible to retrieve a single payment by the stripe id and so get all the data from the...

0 Likes
0 Replies

retrieve data from two foreign tables referenced in items table attached to user by pivot table

Maybe with this image I can make myself clear. I have the user table and the owned_items table The o...

0 Likes
5 Replies

Eloquent ORM randomly returning incorrect relationship

I have a Laravel app that powers an ecommerce website with moderate traffic. This website allows peo...

0 Likes
0 Replies

Form data not saved to db

Hi I am unable to save data from my form: This is my view: @extends('app') @section('content')...

0 Likes
5 Replies

saved web cam captured image to DB

I'm new to laravel and i really have no idea on how to do this.. i capture an image using my web cam...

0 Likes
1 Replies
posted 9 years ago

Do not show similar entries

$videos = Video::where("сategory_id","=", 14) ->orderByRaw("top_new DE...

0 Likes
0 Replies
posted 9 years ago

Command error [Error exception] Illegal offset type

I am writing a custom command for laravel 5.1 and when i run it just says: [Error exception] Illegal...

0 Likes
0 Replies
posted 9 years ago

FORCE rollback of a migration that wasn't marked as done in the migrations table?

Migrations do fail. When a migration errors out, it leaves created tables that must be manually drop...

0 Likes
0 Replies

A join with additional condition using Query Builder

I would really appreciate it if someone could help me out with this. LEFT JOIN v_wholesale_bookmarks...

0 Likes
4 Replies
Solved

Subsequent Authorization

So I have a view that allows a user to cycle through a folder of pictures that sort of resembles a p...

0 Likes
0 Replies

How to run this sql in laravel?

I am trying to run a vary complex sql in laravel: SELECT SUM(t.total_revenue) as total...

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.

© 2025 Laravel.io - All rights reserved.