Support the ongoing development of Laravel.io →

3,604 Threads

Offline laravel project shrink to online Databaselar

I have a local laravel project and also I have the same project on the online domain with hosting. N...

0 Likes
3 Replies

Use foreign Key to display information from other table lae

Hi i am trying to retrive information using the foreign key but it doesnt work. `<?php namespace...

0 Likes
6 Replies

Socialite - One user with multiple providers

I'm looking for best practice on setting up Laravel (with socialite) to handle multiple social provi...

0 Likes
0 Replies

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

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

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.