Laravel 5

Laravel 5.8 - create custom error page with example

In this example, i will let you know how to create custom error pages with laravel 5.8. we will create custom error pages for 404, 403, 500, 419, 255, 405 etc pages in laravel 5 application. we can easily create custom blade file with our theme for all errors in laravel 5. If you set debug false then laravel show you default error page of their predefine. but if you want to create your own custom.....

Posted On May 12, 2019

Laravel detect mobile or desktop using jenssegers/agent example

In this artical, i will let you know how to detect mobile or desktop browser in laravel 5 application. we will use jenssegers/agent package for detect device. we can easily detect device mobile or tablet or desktop. jessenger ajent plugin provide method to get all user agent values with their pre define function by package. they provide function like isMobile(), isTablet(), isDesktop() and device.....

Posted On May 12, 2019

Yajra Datatables Laravel 5.8 Example

we will learn how to install yajra datatables in laravel 5.8 application. datatables is a javascript library and that provide search, pagination, ordering, sorting and etc. we will use yajra composer package for datatables in laravel 5.8 project. yajra provide method to send data and filter using ajax. so let's follow this article and learn how to install yajra datatables. You have to just follo.....

Posted On April 6, 2019

Ajax Pagination in Laravel 5.8

In this article, you will learn how to create ajax pagination with laravel 5.8 project. i will describe step by step tutorial of laravel 5.8 ajax pagination. as we know jquery is more use in live project. so better is if you use ajax with your project then it will run smooth. just see this post and do it js ajax pagination in laravel 5.8 project. In this example, we simply create "items" table .....

Posted On April 5, 2019

Laravel 5.8 Get Logged in User Details

Today's leading topic is laravel 5.8 get current user details using auth. i will show you how to get current logged in user id, name, email, created_at, role etc using auth() helper or Auth facade class. we can easily get auth user data using auth helper in laravel 5.8 application. we almost need to get current logged in user data because we need to some restrict to pages or get only login user .....

Posted On April 2, 2019

Ajax crud operations in Laravel 5.8 with Modal & Pagination

Today, i will show you how to create ajax crud module with bootstrap modal & pagination in laravel 5.8. we can build ajax create read update and delete records in laravel 5.8. we will use yajra datatable to list a data on index page with sorting, pagination and searching. I will create product module with jquery ajax crud operation in laravel 5.8. you can follow this tutorial and easily make ajax.....

Posted On March 30, 2019

Laravel 5.8 specified key was too long error - Solved

Just tomorrow i was installing laravel 5.8 and run migration at that time i got specified key was too long error in migration. you can see it was same error bellow message: "SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email))" Than i checked with user table migration but over.....

Posted On March 26, 2019

Image Upload Tutorial with Laravel 5.8

In this tutorial, Laravel 5.8 image upload with validation is a topic. we will learn how to upload and display image in laravel 5.8. i will show you step by step to create image upload example with laravel 5.8. we can simply add image upload validation like image, mimes, max file upload etc, So you can easily understand and you it simply. In this example, we will create two routes one for get me.....

Posted On March 19, 2019

Laravel 5.8 Ajax Tutorial Example

In this example, i will show you how to send ajax request in laravel 5.8. we can easily send jquery ajax request like post request, get request, put request, delete request etc. You will learn how to write ajax request code in view file and how to pass data from view to controller using ajax in laravel 5.8. you can easily also send json response. If you are using post request then you must have .....

Posted On March 14, 2019

Laravel 5.8 form validation example

Today's topic how to create form validation with error messages in php laravel 5.8. we can simply create form validation in controller side and display error messages in blade file on client side validation message. you can easily use laravel 5.8 default validation rules like form validation number, form validation nullable, form validation max length, form validation greater than, form validatio.....

Posted On March 12, 2019

Blog Search

Copyright © 2020 HDTuto.com. All rights reserved.