Tag : User

ItSolutionStuff.com have tutorials for User tag, here you can study articles of User tag, User tag posts collection, most popular and useful tutorials of User tag, here you can find list of all relevant posts and example about User tag, we have lists of tutorials and examples about User tag. very simple and quick example collection of Latest User tag.

How to create ban/revoke user functionality in Laravel 5 example ?

In this tutorial, i am going to share with you how to create user block and unblock feature in your laravel 5 application using laravel-ban composer package. It will mostly require to create user ban and revoke functionality for security reason. If you are developing big web application then it must be require to enable and disabled user when admin user want. Because some user make in-activity on our website then we could ban that user. So basicaly it is good if you are give user ban and revoke functionality to client on your laravel 5 application. In this article, we will learn how to make .....

By Hardik Savani | June 14, 2017 | | 30014 Viewer | Category : PHP Laravel Bootstrap jQuery MySql

How to get logged in user data in Laravel 5?

If you are beginner or don't know how to get logged in user details in laravel 5 application then you can do it using laravel auth helper. Laravel can get current login user data both way one using auth helper and another Auth facade. In this post you can learn how to get current logged user id. so first yo <strong>Get Logged User Data using helper</strong> you can get login user details using auth() helper, it will return object of users details. <pre class="prettyprint lang-php"> $user = auth()->user(); print_r($user); </pre> <strong>Get Logged User ID using helper</strong> <pre class="pre.....

By Hardik Savani | May 25, 2016 | | 37045 Viewer | Category : Laravel

How to check if record exists or not in Laravel 5?

If you are new in laravel 5 and you want to determine email is exist or not then you can do it easily. IF you did use code php then we have to write long code and check but laravel provide it's own query builder so it is pretty easy. you can see following example how i check row is exists or not: <strong class="example">Example:</strong> <pre class="prettyprint lang-php"> $user = User::where('email',Input::get('email'))->first(); if (is_null($user)) { print_r("email is exists"); } print_r("email is not exists"); </pre>

By Hardik Savani | April 13, 2016 | | 54616 Viewer | Category : Laravel