Support the ongoing development of Laravel.io →

4,515 Threads

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 0 Replies

Use laravel passport in lumen 8 with mongodb

Hello, I want to use laravel passport in lumen 8 with mongodb For that i USE jenssegers/mongodb modu...

0 Likes 0 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
11 Jul, 2021 at 06:03

Select in Lumen/Laravel

Hi everyone, I'm new here and I need some help. My English is not that good, so I hope my sentences...

0 Likes 2 Replies
Solved

How to update mulltiple “keys” of a jsonb column in Postgres

Trying to update multiple "keys" of a jsonb column in PostgresSQL using Laravel Eloquent a...

1 Likes 0 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
30 May, 2021 at 04:14

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

How to create a collection referencing multiple relations th

I have an issue that I'm running into and can't seem to find an answer or figure it out myself. So h...

0 Likes 1 Replies
Solved
24 May, 2021 at 03:29

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
22 Mar, 2021 at 07:42

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...

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
22 Mar, 2021 at 10:37

Migration Leaving Out Most Fields

Fields are missing from a table included in a migration. Any suggestions would be very much appreci...

0 Likes 3 Replies
Solved

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

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 Laravel.io - All rights reserved.