Support the ongoing development of Laravel.io →

4,599 Threads

Relationship between Pivot table hasMany turns

Hi, I am trying to create a game with the tables listed below. There is a sample of the migration fi...

0 Likes
0 Replies

Consultation in Laravel

I'm trying to get the name and id of a certain department using the query: $department = Department:...

0 Likes
2 Replies
Solved

Schema::hasColumn has problems in some scenarios

After model is set from(), in addGlobalScope, query field does not exist column through Schema::hasC...

0 Likes
0 Replies
posted 2 years ago

What's the best way to add data to a live site?

Migrations are great for changing the structure of the database. But what if you want to do stuff w...

0 Likes
1 Replies

Cannot execute queries while other unbuffered queries are ac

My Laravel application (version 5.0.33) has suddenly started throwing the following error: local.ER...

0 Likes
1 Replies

Migration - Create/Drop View

Hello fellows, I'd like to request request new methods for creating/deleting views on migration... (...

0 Likes
0 Replies

Illuminate\Database\Connection->$tablePrefix is an array

Whenever I try to run any database-related Artisan command (e.g. migrate, schema:dump), I get an Arr...

0 Likes
0 Replies

Visualization of connections

I need to visualize the relationship between the data in the tables. My point is to show what is con...

0 Likes
0 Replies

Can not tags by using Laravel Spatie Tag library

In model:- use HasTags and when i have attach tags using like this $model->attachTags(['Tag 1',...

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

Regarding the installation of Laravel

I want to know the steps to initiate new laravel project.

0 Likes
1 Replies
Solved

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
1 Replies
Solved

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

tarek-o liked this thread

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

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

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

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.