Support the ongoing development of Laravel.io →

3,542 Threads

How to download image from url and moving to public?

I have some problem, i have many image in some database ex. www.image.com/user/{id}.jpg i want to do...

0 Likes 0 Replies

CRUD registers all data in the table as NULL.php

I'm developing a CRUD with laravel sanctum, but in validation some of the fields need to accept NULL...

0 Likes 3 Replies

Laravel 8 relationship three models belongs to Parent model

Hello everyone I'm currently working on a laravel project where I have a parent table that has the i...

0 Likes 1 Replies

Database Seeder for Automation Testing

Hi, I am writing an Automation Test for a software that uses Laravel as back-end. To mock the data I...

1 Likes 1 Replies

Update Database Field On Checked & Unchecked Of Checkbox

Hello, I Want To Update My Database Column Of Checkbox On Checked & Unchecked, Want Will Be The...

0 Likes 3 Replies
20 Sep, 2021 at 07:35

Access Denied Live User

Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user 'bsportal_jamalitru...

0 Likes 0 Replies

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

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

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

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

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

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.