Latest Articles

Laravel 5: Ajax Post 500 (Internal Server Error) - Fix

If you are fetching 500 internal server error in jquery ajax post request in laravel 5, then you are a right place. Here i will let you know how to fix 500 (internal server error) ajax post request in laravel 5. If you know well laravel then you know about csrf token, laravel provide best security using csrf token. So you have each time pass csrf_token when you fire ajax post, delete or put reque.....

Posted On November 11, 2017

Bootstrap sortable table columns example

In this article, i wanted to share with you simple example of bootstrap sort table column using bootstrap-sortable plugin. We may sometime need to add sorting a-z or z-a means asc or desc order of table column. At that moment we can also use bootstrap plugin for that. So here i will show you simple example of bootstrap-sortable plugin and you can see how it easy. bootstrap-sortable plugin provi.....

Posted On November 10, 2017

Laravel 5.5 - change date format using jenssegers/date package

Hi Friends, In this article i will let you know how to change date format using jenssegers/date composer package in Laravel 5.5. jenssegers/date package provide us Date facade. Date facade through we can simply change date formate, calculate difference between two dates its. jenssegers/date package provide amazing feature is multi-language support. If you want to display your date in specific lan.....

Posted On November 8, 2017

Laravel 5.5 Get Route Name in Controller, View and Middleware

Hi, Guys Today is crazy day, I want to let you know how to get route name in controller or view or middleware etc in your laravel 5.5 application. Sometime, we need to get route name for as per give on url. We can easily get route name two way using following facade: <strong>1) Request:</strong> <strong>2) Route:</strong> If you are getting route name in controller then "Request" facade will hel.....

Posted On November 7, 2017

Laravel 5.5 - Force Download File using response helper

We may sometime require to download zip or pdf file for report or invoice in Laravel 5 application. So in this article i will let you know how to force download file using response "download()" method. As we know, we have to make response from controller for download file. So you have to simple return response with download(). download() take three argument as listed bellow syntax: <strong>Synta.....

Posted On November 6, 2017