HDTuto.com

Latest Articles


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

How to get client ip address in laravel 5.8?

You can get several way ip address using Request ip, Request getClientIp and request helper function. In this example, i will show you how to get current user ip address in laravel 5.8 controller file. You can simply get client ip address from request object in laravel 5.8. Sometime we may require to get client ip address from request object in our laravel 5.7 application. If you are use core PH.....

Posted On March 12, 2019




Blog Search