Support the ongoing development of →

4,575 Threads

Laravel Eloquent , Pivot Table

Hello, i work on project about customer manager with an API. So, I have 4 Tables on my database : Ci...

0 Likes 1 Replies

Database design for driving school

I came up with a database design that I find most appropiate for scheduling a student on a driving s...

0 Likes 2 Replies

Eloquent Filter n:1 relationship

hello, i wrote the following filter to filter a model independently by the columns. But how do I pro...

0 Likes 2 Replies

Factories - Create multiple records with a single request

Hello beautiful people, I am currently experimenting with super long running times on a feature that...

0 Likes 3 Replies

Command mysql not found - Cypress Laracasts

I've implemented laracasts/cypress into our application and I've also used php artisan schema:dump -...

0 Likes 1 Replies
posted 11 months ago

need help programming this (spoonfeed or no spoonfeed)

Heya, I have a tab in my admin panel called "items", which displays items of every categor...

0 Likes 1 Replies

There is already an active transaction - error

hello, I'm using Laravel Version: 8.81, PHP Version: 8.1.1, Database: MySQL 8.0.23 During using DB::...

0 Likes 0 Replies

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

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

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

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.


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.

© 2023 - All rights reserved.