Support the ongoing development of Laravel.io →
TorchSK

TorchSK

Joined 17 Apr 2014

Statistics

Threads 9
Replies 187
Solutions 32
Articles 0

Notifications inside a command

Hi guys, any of you tried to send the notification from inside a Command? I am using the notifiable...

0 Likes
0 Replies

L5.3 Notifications data passing not working?

Hello, I have User model public function sendPasswordResetNotification($token) { $this->notif...

0 Likes
2 Replies
Solved
posted 10 years ago

Profile name is too close to logout button

Hi, I know, I know.. you will call me crazy, but the profile name text in the header is too close to...

0 Likes
2 Replies

[L5] Allow CRUD only to user that owns resource. Best way?

Hello, I have User model and several other models that belongsTo User. I have a lot of routes for ch...

0 Likes
3 Replies

Website with photo gallery - where to store images?

Hi, I have a website (currently in development) where users can upload their photos. I am deciding w...

0 Likes
1 Replies
replied 8 years ago

How to provide role restrictions at route level?

Of course https://laravel.com/docs/5.4/middleware#assigning-middleware-to-routes All you need is the...

0 Likes
replied 8 years ago

Auth user in global scope

Why are you using auth()? If you use Auth::user()->id , does it work?

0 Likes
replied 8 years ago

Logout when user changes his IP

I would store the user's IP to the DB when he logs-in. Then I would create new middleware, something...

0 Likes
Solved
replied 8 years ago
0 Likes
replied 9 years ago

How to display values of returned Collection?

$langs = DB::table($table_name)->get();

0 Likes

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.

© 2026 Laravel.io - All rights reserved.