Tag : Authentication


How to check current password using hash check in Laravel 5.3?

Sometimes we are working on change password function at that time we require to check with current password. If current password should be match otherwise return error with "your old password is wrong". I mean we have one form with three input field like as bellow: <strong>1)current password</strong> <strong>2)new password</strong> <strong>3)confirm new password</strong> When it will submit form we have to check current password match with store database table password. So, laravel store hash password, that way we can't check directly equal to condition, But Laravel provide <strong>Hash</str.....

By Hardik Savani | September 18, 2016 | | 10926 Viewer | Category : Laravel
READ MORE

How to create authentication(login and registration) in Laravel 5.2?

We always wanted to do authentication system in your project, i mean sign-in, sign-out, sign-up and forgot password for our project. If you work on core PHP, or any PHP framework then it will take long time and large amount code as well to make auth module for your application. But Laravel 5.2 provide simple way to create authentication module in your laravel application. Laravel 5.2 provide several php artisan command, that command through we can generate authentication module easily. Laravel 5.2 also will create new auth route and blade file, that way you can also customize your auth modul.....

By Hardik Savani | July 28, 2016 | | 6540 Viewer | Category : Laravel
READ MORE

Laravel 5 login with Linkedin using Socialite Package

In my previous post i added <a href="http://itsolutionstuff.com/post/laravel-5-google-oauth-authentication-using-socialite-packageexample.html" target="_blanck">login with google</a> and <a href="http://itsolutionstuff.com/post/laravel-5-facebook-authentication-using-socialite-packageexample.html" target="_blanck">login with facebook</a>, that's very simple and almost same but if you doing from scratch then it's important to write all. So in this post we will login with Linkedin. In this post i want to share with you how to do sign in with Linkedin and how to do sign up with Linkedin. Laravel .....

By Hardik Savani | May 27, 2016 | | 17342 Viewer | Category : Laravel Linkedin API
READ MORE

Laravel 5.2 multi auth example using Auth guard from scratch

Multiple authentication is very important in big application of laravel. If you work on large project then you mostly prefer to diferente tables, like you always prefer "users" table for site user registration and "admins" table for admin user that way make strong security. we always use Auth for making user authentication but you have question how to make admins with auth then you can do easily by following step. <strong class="step">Step 1: Auth Config Setting</strong> In this step we will add new admin guard from auth.php file of config directory. so first open auth.php file and add bellow.....

By Hardik Savani | May 1, 2016 | | 33512 Viewer | Category : Laravel
READ MORE

How to check user login or not in Laravel 5?

If you are new and you trying to find how to detect user is login or not in your laravel application. So, it is very easy to check because laravel 5 provide to Auth facade for check user is login or not. Check bellow example: <strong>Example:</strong> <pre class="prettyprint lang-php"> @if (Auth::check()) {!! print_r("User is login.") !!} @else {!! print_r("User is not login.") !!} @endif </pre>

By Hardik Savani | April 28, 2016 | | 1106 Viewer | Category : Laravel
READ MORE

Laravel 5 Facebook authentication using Socialite Package

In Nowdays, Social authentication is important to implement in website because nowdays most of the users or developer etc will connected with Social network like facebook, twitter, google+, gitbub etc. So, In this post i want to share with you how to do sign in with facebook and how to do sign up with facebook. Laravel 5 provide very easy way to implement login with your facebook account and register with your fb id. Laravel 5 provide us Socialite package that is help to social authentication. In this post we will make example same as like bellow preview and you can do that easily by using few.....

By Hardik Savani | April 15, 2016 | | 29522 Viewer | Category : Laravel Facebook API
READ MORE

Laravel 5.2 API using JWT authentication tutorial from scratch example

In this post i want to share you how to create API in Laravel 5.2 with using JWT, If you are beginner then It is a very simple way to create and it is pretty easy to undestand how to create API. After this you can make more secure and complex your API. you can learn JWT authentication from back-end side. we have to learn how to works API from front-end and back-end side. i give you both side fully example how it works and use. <img width="100%" src="/upload/laravel-jwt.png" style="border:2px solid cadetblue"> JWT stand for Json Web Token. JWT will helps to create authentication and connect fro.....

By Hardik Savani | March 31, 2016 | | 147374 Viewer | Category : Laravel jQuery AngularJS Ajax JWT
READ MORE

    PHP - Behance API tutorial with example and demo

    PHP - Behance API tutorial with example and demo

    Open Post

    Laravel 5 - line chart example code using google charts API

    Laravel 5 - line chart example code using google charts API

    Open Post

    Laravel 5 create and download zip file example using chumper/zipper composer package

    Laravel 5 create and download zip file example using chumper/zipper composer package

    Open Post

    Laravel 5.2 API using JWT authentication tutorial from scratch example

    Laravel 5.2 API using JWT authentication tutorial from scratch example

    Open Post

    Laravel 5.3 Image Upload with Validation example

    Laravel 5.3 Image Upload with Validation example

    Open Post

    How to add charts in Laravel 5 using Highcharts ?

    How to add charts in Laravel 5 using Highcharts ?

    Open Post