Support the ongoing development of Laravel.io →

How can get data from belongsToMany and send the relation array as objecto to view

Thanks folks for your attention! Employee model with select a column: public function departments()...

0 Likes
6 Replies
posted 9 years ago

Laravel 5 Guzzle Mandrill set options

Hey guys, I am using Mandrill and Guzzle for emailing and this works fine! But I want to add some co...

0 Likes
1 Replies
Solved

Many to many inverse query how?

Let`s take classic documentation example User -> Role public function roles() { return $this->...

0 Likes
10 Replies

DigitalOcean + Forge + DNS Config

Hey guys! I need a help with DNS questions on my server configuration and I hope somebody could help...

0 Likes
1 Replies
Solved

How to get HTTP request in route model binding closure

Hi there, I am trying to get access to the HTTP request in my route model binding closure. This is b...

0 Likes
2 Replies
Solved

how can get hasbelongsToMany and send data to view

$employee=Employee::create([ 'name' => $request->get('name'), 'lastname' => $request-...

0 Likes
2 Replies
Solved

Carbon - Check how many days ago was timestamp

Hey, is it possible to get the number of days that have passed since a given timestamp, but only the...

0 Likes
1 Replies
Solved

paginate() not working

Hey guys, today I started developing a new website with L5.1 and wanted to use the paginator. I used...

0 Likes
2 Replies

Laravel 4 stops sending email

I have a live application that has been running for months. It just stopped sending out emails witho...

0 Likes
1 Replies

Laravel 4 + bootstrap-switch not passing value

I am perplexed and in need of some help. I have a checkbox setup as a flag in my form that is not s...

0 Likes
4 Replies
Solved

Good tutorial on "How to create proper dynamic form in laravel"?

Hi, does anyone of you about some great article how to create form with dynamic fields and how to ha...

0 Likes
3 Replies

How to do not delete pivot table row

Hi, I have two tables; Table user and table user_groups. I'm using soft delete to delete users. When...

0 Likes
2 Replies
posted 9 years ago

Use Redactor editor upload image return 500

##1.Tools I use Laravel 5.1 Redactor 2.Code 2.1Route Route::post('topics/upload', ['as' => 'upl...

0 Likes
1 Replies
Solved
posted 9 years ago

belongtomany returns null

I am trying to do a belongsToMany relationship but it always returns null. These are my models. (piv...

0 Likes
4 Replies

show remaining and occupied

I am struggling with something and I really need some help The web application I am putting it toget...

0 Likes
1 Replies

Fail To Auth:attempt() in Laravel 5.1

I am newbie of laravel just authenticate 'username' and 'password' with database for successful log...

0 Likes
1 Replies
Solved
posted 9 years ago

Where is convinient? Where is elegant?

In laravel, you even can not use md5+salt instead of bcrypt hash. I tried ,but I found it's very har...

0 Likes
3 Replies

How lists a ::with relation model one to many?

$users=Tlc\Employee::with('users')->get(); => Illuminate\Database\Eloquent\Collection {#822...

0 Likes
0 Replies

Laravel Admin Panel

I'm using stevemo/cpanel https://github.com/stevemo/cpanel for the admin panel. In the view I want t...

0 Likes
5 Replies
Solved
posted 9 years ago

vagrant: command not found

I installed vagrant 1.7.2 on my windows 8 computer. Then wanted to install laravel/homestead. I keep...

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.