Support the ongoing development of Laravel.io →

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
posted 9 years ago

belongTo not going to the right database

Hi, I have a controller with a function: public function show(Activity $linkActivity, $id) { $act...

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

Laravel Auth with Twig and TwigBridge

I have installed Twig and I'm using TwigBridge. It's working because I can write twig syntax etc in...

0 Likes
0 Replies

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
posted 9 years ago

How to assign task to either user or group?

I have tasks table, which have fields assigned_to_user and assigned_to_group to assign task to eithe...

0 Likes
5 Replies
Solved
posted 9 years ago

Problem updating Laravel 4.2 with composer (illuminate/hashing 5.2.25)

Hi there! I have a Laravel 4.2 -based application and today I tried to update it (I wanted to add a...

0 Likes
0 Replies

SSH not connecting in laravel 5.2

Hi, I've a form, on submit of the form I'm connecting to remote server to create a file in the home...

0 Likes
0 Replies
posted 9 years ago

Model function acts weird in live

I have a weird issue with Models and their eloquent relations. The thing is that I have 2 Models , U...

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

Auth::logout() is throwing an error

Hi, I'm new to Laravel and this is my first project using the framework. I'm having issues with the...

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

$this->beforeFilter('logged')

Hi everybody. First of all, I need to mention that my knowledge about Laravel is ZERO. I just instal...

0 Likes
0 Replies

Dynamicly created fieldset not submitting data

Ok, so im trying to make a dynamic cloning (js) a fieldset so we can make more at one go. somehow,...

0 Likes
0 Replies

PDOException in Connector.php

PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'lo...

0 Likes
2 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 10 years ago

getRelations() returns blank

Hi, I'm trying to query a relationship for use with an accessor with getNameAttribute this is my cod...

0 Likes
1 Replies

How to use new multi auth feature in laravel 5.2

Hello All, I am new in laravel community and start learning laravel. I am going to create a new webs...

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.