Laravel 5.5 - How To Make cURL HTTP Request Example

Today, we are share with you how to make cURL HTTPs request in your laravel application. in many time you need to integrate any third party APIs in your laravel application. your can done this with cURL or HTTP guzzle request. but cURL is so simple and not take much time make get or post HTTP APIs request. Make GET Request $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://example.com", CURLOPT_RETURNTRANSFER => true, CURLOPT_.....

Continue reading By : Laravelcode October 17, 2017 Category 20 views

Laravel 5.5 - Login With Only Mobile Number Using Laravel Custom Auth

Today, we are share with you how to modify laravel bydefault authentication and make it custom as per our requirement. in this totorials we are modify laravel authentication sysstem and make "how to login with only mobile number in laravel application using laravel custom authentication". but you also can modify as per your requirement. Laravel provide bydefault authentication system on users table's email and password fields and it very helpfull for us. but sometime we want to .....

Continue reading By : Laravelcode October 7, 2017 Category 1149 views

Laravel 5.5 get current login user details using Auth

Today, we are share with youu how to get current login user details in laravel. we are always need to sometime current login user details like id, name, email, profile picture etc.. So, here we are share with you how to get in to way. you also get current login user details in controller and blade in same way. [ADDCODE] Using Helper: $user = auth()->user(); print($user->id); print($user->name); print($user->email); Using Facade: $user = Auth::user();.....

Continue reading By : Laravelcode October 7, 2017 Category 200 views

Laravel 5.5 - The page has expired due to inactivity - issue

Today, we are share with you how to resolve "The page has expired due to inactivity" issue in laravel 5.5 error. sometime ago laravel 5.5 release with some new future then we are install laravel 5.5 in my local system and tested. we are seen many time this error "The page has expired due to inactivity" when we are submit form. then i search on google and find solution for it. this problem is not big. "The page has expired due to inactivity" is error message seen .....

Continue reading By : Laravelcode October 7, 2017 Category 210 views

Laravel 5.5 - Google reCaptcha Code With Validation Example

Today, we are share with you in this article how to implement google reCaptcha code in laravel with validation. generally captcha use in register, login form and you can see in many website almost site use google reCaptcha. but you can also done this with manyally. but google captcha is best and many laravel package also available using that package you can easyly done this functionality in your application. anhskohbo/no-captcha laravel package is best for it and we are implementing google reCap.....

Continue reading By : Laravelcode October 5, 2017 Category 611 views

Laravel 5.5 - Get Last Inserted ID With Example

Today, we are share with you how to get last inserted ID in laravel with 4 simple example. we have needed some it last inserted ID in laravel application. so, here we have find 4 diffrent way to get last inserted ID in laravel. you can use it and get last ID of inserted record in laravel application. 1) Using insertGetId() method You can get last inserted ID using insertGetId() in laravel for example $id = DB::table('users')->insertGetId( [ 'name' => '.....

Continue reading By : Laravelcode September 26, 2017 Category 351 views