Support the ongoing development of Laravel.io →

3,607 Threads

How can i show auto calculated field in a view?

Hi i have in my database a table with the following fields: $table->decimal('sale_price')...

0 Likes
4 Replies

Steps for running Laravel Framework Database Tests

Hi, We are looking to build support for YugabyteDB in Laravel. I'm new to the Laravel community and...

0 Likes
1 Replies

Ho to manipulate one column in Controller

Hi, i would like to create a simple output. My Controller has this code $item = Item::select('name',...

0 Likes
1 Replies

Tournament System

Hello world, Im trying to code a tournament system in laravel where users can join a tournament as s...

0 Likes
0 Replies

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

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.