Latest Articles

Laravel 5.5 create zip archive file and download example

Are you want to create zip file programmatically in laravel application then chumper/zipper composer package is help to generate zip file simply. Sometime we need to create zip file with images or other files, then also you have to give download as response. In this article i will let you know how to generate zip file and download as response in laravel 5.5 application using chumper/zipper compo.....

Posted On August 28, 2017

Laravel 5.5 validation example with custom message

Now days laravel 5.5 released for dev version and they release laravel 5.5 official documentation. So in this article i will show you how to add form validation in laravel 5.5 validation. As we know website is always depend on user input, So it's require to add validation for that otherwise client or user does not input wrong details or something, So for example if you want to get email, phone nu.....

Posted On August 27, 2017

Laravel 5.5 get current url with parameters

Today, i am going to show you how to get current url, base url with parameter in your controller or view file. We may sometime need to get current url in controller method or maybe in blade file. So it's not difficult to do this thing in laravel 5.5 application. Laravel provide Request and URL facade for getting request data. So we can simply get those current url using Request and URL facade. we.....

Posted On August 25, 2017

Laravel 5.5 get current user data using Auth

Few days ago laravel launch 5.5 version and there are lot's of new changes and new feature. In this example i will let you know how to get current logged in user details like id, email, name etc. laravel doesn't change for getting current logged in user details. So, we can get current user details using laravel auth. You can also use simple auth helper or Auth facade. So i will give you both exam.....

Posted On August 19, 2017

Laravel return view ajax request example

Sometime, we may require to return view from controller via jquery ajax request in Laravel 5 application. So in this example i will let you know how to generate view from controller and return it. Here, i will create two blade file and another controller method so you have to just follow bellow example. Here bellow blade file. <strong>blade file:</strong> <pre> <!DOCTYPE html> <html> .....

Posted On August 8, 2017