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 8554 views

Laravel 5.5 - Algolia Full Text Search Example With Scout

Today, we are share with you howt o built a full text search in laravel application using scout and algolia package. in many laravel application you need to built full text search. so, you can easyly done with laravel scout and algolia package. algolia package provide a live search APIs funnction using this you can search full text search in model or quesry. in this tutorial we are show you one example how to built full tect search and how to integrate laravel scout and algolia. Simple fol.....

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

Method Tymon\JWTAuth\Commands\JWTGenerateCommand::handle() does not exist

Today, we are install laravel 5.5 and install tymon/jwt-auth package in my laravel 5.5 application. and we are set service providers and aliases also. but when we are try to generate jwt key run by following command. php artisan jwt:generate After run above command you can face following error message in terminal. [ReflectionException] Method Tymon\JWTAuth\Commands\JWTGenerateCommand::handle() does not exist Then we are search on google then i was realize in laravel 5......

Continue reading By : Laravelcode September 22, 2017 Category 12591 views

Laravel 5.5 - Yajra Datatable Example

Today, we are share with youu how to implement yajra datatable in laravel application with example. in your application sorting, searching and pagination functionality is common if you use simple table for display your application data iin tabuler forrmate so you should also write manualy code for it all functionality. and it is very painful and take some time. But, if you use yajra datatable package in your laravel application then you can save this time. because yajra datatable jquery packa.....

Continue reading By : Laravelcode September 22, 2017 Category 46731 views

Laravel 5.5 - Task Scheduling With Cron Job Example

Today, we are share in this tutorials "How to set scron job in laravel 5.5 using scheduler for every minute." in many time you need to this type functionality in your laravel application. for Ex. any specific task or job execute any specific given time. You can done this type functionality using laravel task scheduling. and some configure in your live server. in this post we are give very simple example for laravel cron job from the scratch with example. In this tutorials we are .....

Continue reading By : Laravelcode September 20, 2017 Category 67457 views

Laravel 5.5 - Razorpay Payment Gateway Integration

Today, we are share with you in this tutorial How To Integration Razorpay Payment Gateway In Laravel 5.5 with easy example and demo. Currently many payment gatway available in market like paypal, stripe, paycheckout, CCAvenue etc.., if you are built your product forr indian market then Razorpay is best for make online payment. it very easy to use in any programing language. Simple following this step and easyly integrate Razorpay in your laravel application. Create Razorpay Account F.....

Continue reading By : Laravelcode September 20, 2017 Category 9287 views