Support the ongoing development of Laravel.io →

4,597 Threads

Defining Two Relationships Between Models

I'm learning Laravel, and really OOP in general. I've followed several YouTube tutorial series, that...

0 Likes
0 Replies

Create new database and tables on the fly

Hi everybody. I want create dynamically new database, database user with privileges, tables in new d...

0 Likes
8 Replies

Renaming the pivot table Columns .

i have many to many relation in my database and i can't change the default name of the pivot table C...

0 Likes
0 Replies

Cannot insert third pivot column with sync method

My question is similar to this thread : Laravel relationship with a 3 column pivot table But it seem...

0 Likes
0 Replies

Laravel 5.7: authentication with an existing database

Ok, I know it's an old question, but I still can't understand how to manage this. I'm developing a L...

0 Likes
0 Replies

Table name is wrong in SQL query

Hello everybody! If I create a new migration where my table name is e.g. 'hosts_armory' and in my co...

0 Likes
4 Replies
Solved

Using DB or Eloquent I got error Unsupported operand types

Excuse me, is there anybody can help me? 3 days, I still cant find any results by searching from int...

0 Likes
0 Replies

SQLSTATE[HY000] [2002] No such file or directory

I have a simple connection in my laravel route (just for testing), but it Gives me following error:...

0 Likes
0 Replies

Get all relationships in many-to-many polymorphic

Hi, I am trying to build a form with dynamic fields. Fields are based on select box choice and can d...

0 Likes
0 Replies

Generate relation functions from array

This is a example of my model relation code today: public function Discipline() //relation { ret...

0 Likes
5 Replies

Many-to-Many relation not working properly

I have three tables: Tournaments, Participants, Users. The structure is: Tournaments: -Id -D...

0 Likes
1 Replies

Help Distribution of Items

Good Morning They could help me, I'm new to laravel but I'm having the following problem. I have a t...

0 Likes
0 Replies

How to make a category section to choose from?

How to make a category section to choose from and display the selected options chosen. If someone kn...

0 Likes
0 Replies
posted 6 years ago

Updating the table from a csv file

Hi, I have a problem. I am trying to update the tables in the database from a CSV file, but I get th...

0 Likes
0 Replies

MYSQLi an option in Laravel or not?

Hello Everybody, I would like to learn, if we could use a MySQLi driver with Laravel, reading throug...

0 Likes
4 Replies

Laravel table structure

Hello Everybody, I am a novice in Laravel and would like to know about editing the database structur...

0 Likes
3 Replies
posted 6 years ago

laravel-online-migrations

After suffering through some slow, blocking migrations I've found pt-online-schema-change is a nice...

0 Likes
0 Replies

Laravel Outputs Different Output Than MySQL For Query

Hi, I generated a MySQL query which gives the correct output I require (tested on MySQL Workbench)....

0 Likes
1 Replies

SQLSTATE[HY000]: General error: 1364 in LARAVEL 5.7

I tried to validate data inserted into a form before storing into database. basically the model has...

0 Likes
1 Replies
Solved

Upvote and Downvote System

i am creating a website where user will post a comment,i want to create a upvote and downvote syste...

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.