Support the ongoing development of Laravel.io →

3,603 Threads

The save function does not work when sending data from the c

When you try to save data to the database, the page just loads endlessly. I also tried other methods...

0 Likes
0 Replies

Laravel 6 pivot casting

try to use following in Laravel 6 but the 'relations_type' column in 'contactable' table does not re...

0 Likes
0 Replies

I need help to fetch the sum of adult_rates from a colum

DB::table("rates") ->selectRaw("sum (datediff( day, case when $start_date > sta...

0 Likes
0 Replies

Fake model relationship

I have a project model where I want to associate roles and then users. The roles is a subset of the...

0 Likes
0 Replies

laravel-automatic-migrations: Automatic migrations

https://github.com/bastinald/laravel-automatic-migrations Laravel Automatic Migrations Automatic mig...

0 Likes
0 Replies

eloquent eager loading to limit for each post

I saw this thread from 7 years ago and thought I should update the answer. To improve on viquanghoa...

0 Likes
0 Replies

How to add sql and mysql database at same time in Laravel

I need to access two databases in my application. One is MySql and another is SQL. MySql is hosted i...

0 Likes
2 Replies

Cloudinary Laravel SDK

Hey, Does anyone have experience with cloudinary-laravel-sdk? Any examples on CRUD operations on thi...

0 Likes
0 Replies

Laravel User Role And Permission

User Role And Permission is an important Module for any website. From My experience, I got a proper...

mashrat711 liked this thread

1 Likes
3 Replies

How can I merge two eloquent queries in laravel?

I am making laravel project. There is need to merge two complex eloquent queries, not query result....

0 Likes
1 Replies

Does not laravel eloquent have query like WhereNotHas?

I want to distinguish 2 queries when one field is null or not null. Let me see one table named 'repo...

0 Likes
0 Replies

Laravel query with subqueries and foreach

I wanna to show common users verified, not out of date and unbanned: a) all songs b) songs by title...

0 Likes
1 Replies

Help converting SQL to Eloquent

I'm trying to convert an SQL Query to a relationship in Eloquent, and having great difficulty. This...

0 Likes
0 Replies

Problem to store data <input type="hidden" ......

This works when entering data to database in the form: <tr> <td>{{_('Longitude')}}&...

0 Likes
0 Replies

Error on access array offset on value of type null .

when i am trying to log in with the credentials from my custom log in page, it show me the error Err...

0 Likes
0 Replies

Password + Passwordless Login in One Application

So I am building an application for a client who manages events that are staffed by volunteers from...

devenjahnke liked this thread

1 Likes
0 Replies

Multi-tenant deployment using HTTP header

Hello, First of all please be aware that I'm not a skilled PHP programmer, even less a Laravel exper...

0 Likes
0 Replies

How to average from database with multiple columns

I have Mysql database column story and game_time etc. I want to these avg But ı don't know How to av...

0 Likes
1 Replies

SASS app where to save each users data?

Hi all, I’ve recently been playing around with Larvel and building a sample project to try and wrap...

0 Likes
0 Replies

Dynamic relation is wrong but reloading retrievs correct one

Hi, I have an very strange problem which I never had before and I only have this problem with my rol...

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.