Support the ongoing development of Laravel.io →

4,606 Threads

Database Architecture Suggestion

Hello, I need suggestions for database architecture. I am going to build SaaS application for Compan...

0 Likes
4 Replies

Laravel not forcing SSL after artisan restart

I have an emergency with some Laravel code on a production server. Let's get it out of the way: horr...

0 Likes
0 Replies

Is it mandatory to create tables via migration in laravel?

Is it mandatory to create tables via migration in laravel?

0 Likes
1 Replies

How laravel manages MySQL variables?

If I do DB::statement("SET @foo := 1;"); DB::select("SELECT @foo;"); I get the...

0 Likes
3 Replies

How do I push title page from database to webpage?

I have 2 page: Page A have title is A <title>A</title> Page B have title is B <title...

0 Likes
1 Replies

How to Splitting up nested Foreach Loop

I want to implement domain.com/section/slug format in my website.(currently it like - domain.com/sec...

0 Likes
1 Replies

Hi..I'am new to this group, I want this to save my checkbox.

//Here's my Blade <div class="col-md-12"> @foreach($intraoral_examination_list as $intraoral_...

0 Likes
0 Replies

Questions about Blade, Database and encoding files

Hi, I'm working on web app using Laravel that will display and allow to edit players ban list (from...

0 Likes
0 Replies

Laravel 5.7: User-tables in other database

Hi, In my Laravel project, my users-table and password_resets-table are located in the database Inte...

0 Likes
2 Replies
Solved

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

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.

© 2025 Laravel.io - All rights reserved.