Support the ongoing development of Laravel.io →

3,571 Threads

Hasmany With Sum but Whats The Variable Name?

Invoices Model: public function items(){ return $this->hasMany('\App\InvoiceItems','invoice_id','...

0 Likes 0 Replies

Live Video Streaming using Laravel

I want to do a live video streaming for one of my gaming tournament platform where user can join the...

0 Likes 0 Replies

I want to add items to OderItems

I want to add product_id, order_id, Price, Quantity to Order_items tables when customer click confir...

1 Likes 0 Replies

Implement messenger chatbox

I would like to implement messenger chatbox using laravel as back-end and angular as front-end using...

0 Likes 1 Replies
posted 2 years ago

How is this query in Laravel

This is my code: $receptions = Reception::where('hotel_id', $hotel_id) ->where('payed', 1) ->w...

0 Likes 4 Replies

i nedd help

Hello I am working on an application, I would have to save a photo ID but when I click on the save b...

0 Likes 0 Replies

Foreign key column vs belongsTo

VendorProduct belongsTo a single Vendor. To find or assign a Vendor to a VendorProduct, must the Ven...

0 Likes 0 Replies

Laravel Response deleted_at

deleted_at when there is a null response "delsoseted_at": "1969-12-31 18:00:00",...

1 Likes 0 Replies

How to call stored procedure using laravel and send mail?

Hi, I am beginner of laravel and MYSQL AND i wanted to call my stored procedure and pass the data to...

0 Likes 1 Replies

get all numbers are not in use

Hello, i try to explain my Problem. I have 2 Tables in relationship shootingbooks and shootingranges...

0 Likes 1 Replies
posted 2 years ago

Join relationship just like it is with "->with"

I'm a little confused why Builder::join couldn't be similar to Builder::with to join tables.. To be...

0 Likes 0 Replies

Get rows only if relation exists (Laravel Nova)

Hi I am trying to make a filter in laravel nova that allows me to select items that have a relation....

0 Likes 1 Replies
posted 2 years ago

Adding table on running site

What is the process to add tables on database of a running site ...da

0 Likes 1 Replies

How to properly store checkbox array

Hello I have a form on which I display 6 checkboxes numbered 1 to 6. They represent the classes a st...

0 Likes 2 Replies

BadMethodCallException

I'm trying to return data from database upon entering some text from search field. I'm using route:...

0 Likes 1 Replies

Trying to update the entry

Error is Creating default object from empty value Error shows in controller here $logbook-&g...

0 Likes 1 Replies

Database related tables data

Hi, i have two related tables "accounts & tokens" . Inside accounts i have a field &qu...

0 Likes 3 Replies

Weird eloquent bindings when using addSelect method.

Laravel Version: 7.13.0 PHP Version: 7.4.6 Database Driver & Version: Mysql & 8.0.20 Descr...

0 Likes 0 Replies

Checkbox validation

Hi, I have a project in Laravel 7 and my register form have two checkboxes, ¿how can validate one of...

0 Likes 0 Replies
posted 2 years ago

Lumen query error

Hi sorry for english , i try to change a developer code on a site write in lumen , im new of laravel...

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.

© 2022 Laravel.io - All rights reserved.