Support the ongoing development of Laravel.io →

harikrishnan

Joined 8 Dec 2015

Statistics

Threads 4
Replies 2
Solutions 0
Articles 0
posted 8 years ago

Getting Current Route name inside the Model

Hi, How will I get Current Route name as in controllers like if (Route::currentRouteName() == 'XYZ')...

0 Likes
3 Replies
posted 9 years ago

Checking whether a IOC container is defined or not

Hi, In my code I am defining an IOC container like App::instance('myapp.value', $value); In other...

0 Likes
1 Replies
Solved

Passing an array from filter to the Controller

Hi, I am developing server APIs for Mobile application. Every APIs are authenticating using user tok...

0 Likes
0 Replies
posted 9 years ago

Is it good way to use Auth::user(); in REST APIs to get the current authorized user details?

I am implementing Server APIs for Mobile App using Laravel 4. Can I use Auth::user() to get the curr...

0 Likes
4 Replies
Solved
replied 8 years ago

Getting Current Route name inside the Model

Is there any way to get that inside the model?

0 Likes
replied 9 years ago

Is it good way to use Auth::user(); in REST APIs to get the current authorized user details?

Not using any kind of session.Using user token authentication.Its working as follows. For each logi...

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.

© 2024 Laravel.io - All rights reserved.