Support the ongoing development of Laravel.io →

4,606 Threads

Triple foreign key BelongsToMany Relations returns null in Laravel

I am implementing pivot table with multiple foreign keys Laravel 5 Eloquent. Already read these link...

0 Likes
0 Replies

Form with file

Hi, i have a table like this: Schema::create('partners', function (Blueprint $table) { $table->...

0 Likes
0 Replies

Eloquent Belongs To Many Relationship with non-standard fields not returning data

I've been wrestling with this relationship for a few days, and I can't seem to get any traction off...

0 Likes
1 Replies
Solved

Select2 dynamic select add

I was wondering if anyone has had any luck in implementing the Select2 jQuery library with Laravel t...

0 Likes
8 Replies

Migration Problem

This is the problem when I'm trying to migrate my database in linux terminal. Thanks for the help ev...

0 Likes
0 Replies

Eloquent without Multiple Models? Instead a single Dynamic Model.

So i know this has been asked before about using Eloquent without Models. I did not find the answer...

0 Likes
1 Replies
Solved

Different results from the MySQL console and DB::select(DB::raw()).

Here are my results (MySQL result is correct): http://laravel.io/bin/mG0bm I also tried to write thi...

0 Likes
2 Replies

laravel Many to Many relation

Can someone please help me. i want to know how can i get to opposite of a belongsToMany relationship...

0 Likes
2 Replies
posted 8 years ago

Save JSON to the table

Hi, i updated to MySQL 5.7 and im wondering how i make a migration to save JSON to my table column....

0 Likes
0 Replies

How to make a data persist temporarily until approved by an Admin

Hi great minds! I am building an HR software and I will like to implement a special feature which is...

0 Likes
1 Replies

Inserting binary fields

Hey all, I've got an application that needs to run against both a MySQL and SQL Server database depe...

0 Likes
1 Replies

Error message can not open stream

I am trying to connect to a new class model that I set up. I am getting an error can't open stream,...

0 Likes
0 Replies

How to connect mysql using ssl?

Hello, anyone please help me how to connect to mysql server using SSL? I tried to put these lines...

0 Likes
1 Replies
posted 8 years ago

Add column

So two questions. I was thinking, I've created a webbapp before, just not with a framwork, and I had...

0 Likes
4 Replies
Solved

Save Many form Request from array (Shop Open hours)

Hello everybody I hope someone can help me. Problem A shop should be able to save its opening times....

0 Likes
0 Replies

Moving unhashed passwords to hashed Laravel users table

I've got an old users table that has user info with unhashed passwords. I want to migrate all of tho...

0 Likes
1 Replies

belongsToMany showing linked data along parent data

How would i go about showing data formatted nicely in json allowing the parent data and linked data...

0 Likes
1 Replies
Solved

Unable to open database file

Hello, I'm writing here in regarding to problem which I have got. Yesterday I started my adventure w...

0 Likes
0 Replies

Connecting to SQL Server from Mac OS

Hey all, I'm working on an application that connects against an existing SQL Server DB. I've got the...

0 Likes
0 Replies

Results of a Relationship Return Null

I have the following code, and I can't seem to access it through the model relatioship object. Any i...

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