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 11 years ago

Redirecting to route from Jquery while passing data?

You can use JSON.stringify(data) where data can be string, object, array or whatever Then in control...

0 Likes
replied 11 years ago

Search based on provided input

One way to do it $filters = Input::all(); return Post::where(function($query) use ($filters){ for...

0 Likes
replied 11 years ago

Eagerloader with no select *

Can not try myself, byt try this: $article = Article::with(array('user' => function($query) {...

0 Likes
replied 11 years ago

Should i make more use of the models?

The number of models should match the number of DB Tables (minus the pivot tables)

0 Likes
replied 11 years ago

Users can only edit their own posts

Hmmm... paste the model please And try if simple Post::find(1) is working

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.