Laravel


Laravel 5 Passport - Key path oauth-public.key does not exist or is not readable solved.

When i was working with laravel passport in my application. In my local system works, but when i upload it to git and my friend pull and run project he got it error as following : <strong>Key path "file://F:\xampp\htdocs\blog\storage\oauth-public.key" does not exist or is not readable</strong> I was thinking, what is issue because i already installed successfully laravel passport. But i finally i.....

Posted On May 20, 2017

Laravel 5 - Change JSON response to request with wrong api token.

If you used laravel 5 passport then i am sure you require to use "auth:api" middleware, But you can see when you pass wrong api token then you just get "unauthenticated" json response with error key. If you want to change message or json formate then you can do it. You have to on on default Exceptions handler file and you can change there. So just open your Handler.php file and change json respo.....

Posted On May 17, 2017

Laravel autocomplete typeahead search example from scratch

In this article, i will show you how to create jquery ajax autocomplete using typeahead js plugin in Laravel 5 application. If you have thousands of data in database table and you require to display in drop-down or something like to choose that data. So If you use drop-down it load and it's hard to find specific record. So At that time you can simply use jquery autocomplete in your application. I.....

Posted On May 10, 2017

Laravel check if ajax request or not example

In this article, i will share with you how to check request is ajax on not in laravel 5 application. We maybe need to determine if request is ajax then response should be in json and id using http request then return view. So at that time need to determine request. In this example you will lean how to check if request is ajax or not. Laravel provide ajax() method of Request Facade to identify re.....

Posted On May 8, 2017

Laravel 5 - Create Simple CRUD(Create Read Update Delete) application example

In this tutorial, i am going to share with you how to create CRUD module in laravel 5 application. CRUD stand for Create, Read, Update and Delete. As we know crud module is always require for basic data input in database. In this example i created "posts" module. i make posts table with title and content column. You can add post, view post, edit post and remove that post. I follow laravel rules .....

Posted On May 7, 2017

Laravel full calendar tutorial example from scratch

In this example you will learn how to implement fullcalendar(JavaScript Event Calendar) in Laravel 5 application. we would like to represent our events, schedule, tasks etc on calendar that way we can see when starting time and ending time. In this article we will use fullcalendar jquery plugin for display events in laravel application. It is very easy to implement. Example is from scratch so yo.....

Posted On May 6, 2017

How to use color picker in Laravel 5 ?

As we know, today we always want to make better layout for each small point of our application like datepicker, colorpicker, sorting etc. If you need to add color code on database then you would like to use color picker instead of just give textbox. In this example you can learn how to use bootstrap color picker in laravel 5 application. Here we use bootstrap-colorpicker plugin for color picker So.....

Posted On May 5, 2017

Laravel 5 - image upload with create thumbnail image example

In this example you can learn how to generate thumbnail image when upload image in laravel project. we always like to make very smooth load our web page. But if you have many images on your web page it can take time to load page on browser, as specially when image is large size. But if you have small size of image(thumbnail) like 300X300 or 100X100 etc. It will save time to load our page. That mak.....

Posted On May 2, 2017

Laravel redirect route with query string example

We may require to redirect named route with another parameters or query string in laravel application, you can do it simply by using "redirect()" helper. redirect() helper provide method route for redirect named route. In this example i will show you how to redirect simple named route, redirect with named route and params, redirect with named route with message. You can simple use and understand. .....

Posted On April 28, 2017

Laravel timepicker example using bootstrap datetimepicker plugin

In this article, we will show how to use timepicker in laravel 5 application. Sometime we need to get specific time from client at that time if we use timepicker then will be good. So if you are using laravel and bootstrap then it is very simple to use timepicker. we will use bootstrap datetimepicker jquery plugin for timepicker. datetimepicker plugin provide several options to configure like chan.....

Posted On April 28, 2017

Blog Search